VS2010 breakpoints do not work when developing AutoCAD. NET application debugging

Source: Internet
Author: User

vs2010+ AutoCAD 2012 Development debugging process, found that the normal class inside the breakpoint can be traced, may be to create a custom form interface is, Form1.cs code breakpoints are not used. The reason for this is the fiber (Fiber) of AutoCAD. Yes, it's a fiber (Fiber) instead of a thread. There are problems with VS2010 's debugger working with AutoCAD fibers. The solution is to close the AutoCAD fiber. Through the system environment variable Fiberworld to see if the current fiber is open, if it is 1, you can set the system environment variable Nextfiberworld to 0.

Autodesk.AutoCAD.ApplicationServices.Application.SetSystemVariable ("nextfiberworld" 0

If you are using VS2010 based AutoCAD 2011 and its vertical products, you can refer to the http://www.cnblogs.com/junqilian/archive/2010/04/29/1724403.html

VS2010 breakpoints do not work when developing AutoCAD. NET application debugging

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.