Message 1 of 5
Debug problems with Visual Studio 2010 and AutoCAD 2009

Not applicable
12-19-2010
04:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I got a debug problem with Visual Studio 2010 and AutoCAD 2009.
Problem description:
In project start up options I set to run acad.exe. I set up output directory for my plugin to the same path, that at in the AutoCAD registry. So, when I hit F5 key AutoCAD starts and it loads just builded version of plugin. I set breakpoint at IExtensionApplication.Initialize() methodand it works perferctly. But when during debug I try to call some method marked with [CommandMethod("Method")] attribute AutoCAD says, that the commandis unknown. When I start AutoCAD with the same dll (but not from debug) is see all my method marked with [CommandMethod()] attribute.
Previously I used Visual Studio 2008 with same AutoCAD version but I had no problem with debugging. Please, help.