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

Is there a faster way to debug an ObjectARX application?

2 REPLIES 2
Reply
Message 1 of 3
Otto_Cad
400 Views, 2 Replies

Is there a faster way to debug an ObjectARX application?

In order to debug an ObjectARX app, an instance of Autocad is launched each time from within the Visual Studio IDE on each debug attempt.

This yields long waste of time, waiting for Autocad to load every time. So my questions are:

 

  • Is there a way to keep the same Autocad instance opened between debugging sessions? Or...

 

  • Is it posible to write a standalone .EXE application that connects to an existing (already opened) Autocad instance, and use its ObjectARX objects/commands, as COM apps do with Interop objects/commands? These way would also be much faster to debug.

The last one will be slower on execution (as any out-of-process application) but instant in order to modify code and debug code logic.


The use of NET-RELOAD, although highly advisable, does not apply in this case because it does not allow debugging.

Thank you.

2 REPLIES 2
Message 2 of 3
owenwengerd
in reply to: Otto_Cad

You posted in the ObjectARX forum, but you mention NET-RELOAD, which is apparently for managed .NET code. Which are you asking about? If managed code, you should post in the .NET forum.

--
Owen Wengerd
ManuSoft
Message 3 of 3
Otto_Cad
in reply to: owenwengerd

The question has been moved here:

http://forums.autodesk.com/t5/net/is-there-a-faster-way-to-debug-an-objectarx-applicatio-n/td-p/5454...

So feel free to delete this thread if necessary.

Thank you for your advise.

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

Post to forums  

Autodesk Design & Make Report

”Boost