Debug Problems

Debug Problems

Anonymous
Not applicable
241 Views
1 Reply
Message 1 of 2

Debug Problems

Anonymous
Not applicable
Hello All,

Well this would seem to be a well known problem, but unfortunately I do not
know the answer. My configuration is this

XP Professional
VC 7/Developer Studio
AutoCAD 2004 locked

OK! So, what happens next, the thing will not enter debug mode. The advice
from the web is to connect to the process, or use the debugAttach routine
supplied. I have tried this and unfortunately it does not work. All I get
is nothing. I am using sample code provided with the SDK so I would hope
for more than I'm getting.

I would greatly appreciate any help and specifics people can provide. I am
new to ARX having finally arrived here after LISP and VBA, so simple
explanations would be preferred.


Kind Regards


Martin Duke
0 Likes
242 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Martin Duke wrote:
> Hello All,
>
> Well this would seem to be a well known problem, but unfortunately I do not
> know the answer. My configuration is this
>
> XP Professional
> VC 7/Developer Studio
> AutoCAD 2004 locked
>
> OK! So, what happens next, the thing will not enter debug mode. The advice
> from the web is to connect to the process, or use the debugAttach routine
> supplied. I have tried this and unfortunately it does not work. All I get
> is nothing. I am using sample code provided with the SDK so I would hope
> for more than I'm getting.
>
> I would greatly appreciate any help and specifics people can provide. I am
> new to ARX having finally arrived here after LISP and VBA, so simple
> explanations would be preferred.
>
>
> Kind Regards
>
>
> Martin Duke
>
>
>

Assuming an un-locked version of AutoCAD -

Load the solution/project.

Make sure the debug build is current.

Hit to build the project.

Hit to start the debugger.

The first time you debug you may need to browse to locate acad.exe as the
executable to debug.

Load your arx in AutoCAD.

You'll need to set breakpoints in your code to tell the debugger where to
stop during execution.

Hopefully you realize there's a steep learning curve...

--
|
----+----------------------------------------------
| Byron Blattel
| CADwerx---Applications for AutoCAD
| Autodesk Registered Developer
| email: [email protected]
| web site: http://www.cadwerx.net
| Custom Programming Services
0 Likes