Hi,
This is a known issue, here is an article extracted from our ADN knowledge base:
Issue
I am trying to create .net Addin based on AutoCAD Civil 3D 2012 with Visual Studio 2010. The breakpoints in common classed can be hit, but those in custom forms cannot be hit. I looked into DevNote http://adn.autodesk.com/adn/servlet/devnote?siteID=4814862&id=15032210&linkID=4900509.But it does not help. Change of acad.exe.config will crash AutoCAD.
I tried “Autodesk.Autodesk.ApplicationServices.Application.ShowModalDialog(oForm)” and “oForm.ShowDialog()”, same result.
Is there anything else I can do?
Solution
VS2010 debugger does not work well with fiber; the solution is to turn off fiber in AutoCAD .
As indicated in Platform Technologies Customization Newsletter – Summer 2010, fibers are being deprecated, as Microsoft is dropping Windows support for fibers. For more information of fibers, please refer to http://msdn.microsoft.com/en-us/library/ms682661(v=vs.85).aspx
To turn it off, you can set NEXTFIBERWORLD to 0, close all documents, and AutoCAD will run fiberless in subsequent documents. The system environment variable FIBERWORLD can show the current status of fiber.
Another thing should mention is: using NEXTFIBERWORLD = 0 the Ribbon might stop working – when you click on a button on ribbon, nothing happens. You can use command line as a workaroud.
Philippe Leefsma
Developer Consultant
Developer Technical Services
Global Subscription & Support
Autodesk EMEA
www.autodesk.com/joinadn