Message 1 of 5
Debug problems

Not applicable
02-27-2010
03:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am setting up a new machine for my development and I have run into a problem in which the Visual Studio debugger doesn't let me debug my application. I tried to isolate the problem by using te simplest Hello World application. The details are as under:
(1) Using AutoCAD 2010, ObjectARX 2010, Visual Studio 2008 SP1, Windows XP 32 bit SP3
(2) Wrote the simplest Hello World application as per the ObjectARX sample. The solution references acdbmgd and acmgd from the ObjectARX\inc-win32 folder
(3) Set the debug executable to acad.exe.
(4) Run the solution, gives an error "Exception has been throws by the target of invocation..." pointing to AcAppFrame.xaml. I am able to continue the debug by clicking the Continue button.
(5) At the AutoCAD prompt, netload the hello dll.
(6) Give Hello command - AutoCAD says unknown command.
If I netload the dll by running AutoCAD outside te debugger, the hello command works.
Any idea what is going on here - I am new to Arx .NET development on AutoCAD 2010. Have I missed any important setting here? I have attached the project.
Thanks, Gagan
(1) Using AutoCAD 2010, ObjectARX 2010, Visual Studio 2008 SP1, Windows XP 32 bit SP3
(2) Wrote the simplest Hello World application as per the ObjectARX sample. The solution references acdbmgd and acmgd from the ObjectARX\inc-win32 folder
(3) Set the debug executable to acad.exe.
(4) Run the solution, gives an error "Exception has been throws by the target of invocation..." pointing to AcAppFrame.xaml. I am able to continue the debug by clicking the Continue button.
(5) At the AutoCAD prompt, netload the hello dll.
(6) Give Hello command - AutoCAD says unknown command.
If I netload the dll by running AutoCAD outside te debugger, the hello command works.
Any idea what is going on here - I am new to Arx .NET development on AutoCAD 2010. Have I missed any important setting here? I have attached the project.
Thanks, Gagan