.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot Debug ACAD2006...

6 REPLIES 6
Reply
Message 1 of 7
Anonymous
256 Views, 6 Replies

Cannot Debug ACAD2006...

I can build the DLL, but when I try to debug, ACAD starts, then during the splash screen, it crashes...Anyone know what is up??? Thanks for the help...
6 REPLIES 6
Message 2 of 7

In Visual Sudio, debugging a dll requires an application that uses this dll. You tell Visual Studio to start that application to debug your dll. This is a general rule. AutoCAD may have a different method which I am not aware of. Therefore, it may or may not be the cause of your problem.
kr
Message 3 of 7

Actually, I e-mailed an instructor that I had at AU and he let me know what was going on...I forgot to add in my original post about having .Net Framework 1.1 and 2.0...I had to go into the acad.exe.config file (which is an XML document in the same folder as acad.exe) and un-comment a line...Below is what it should look like...Thanks for the help though...I hope this helps anyone using VS 2003 while having the Framework 2.0...






Message 4 of 7

sorry...the code is not showing up...Next post will have a .txt file... Message was edited by: Eatmode4life
Message 5 of 7

the Code is attached....
Message 6 of 7

Try to set your project debug startup options to launch AutoCAD, you can simply start debugging in AutoCAD by hitting F5. I've had the same problem when I was trying to attach to acad.exe process. Also uninstall .net framework 2.0 if you have it installed
Message 7 of 7

Thanks Eatmode4life especially!!!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost