Results 1 to 4 of 4

Thread: DEBUGGING arx applications for AutoCAD 2008 MAP 3D version

  1. #1
    Member
    Join Date
    2004-07
    Posts
    2
    Login to Give a bone
    0

    Smile DEBUGGING arx applications for AutoCAD 2008 MAP 3D version

    Hello,
    Can some one please help with DEBUGGING arx applications for AutoCAD 2008 MAP 3D version? I am using VB.NET 2005 version.
    I have been trying to migrate the object arx programs written in 2000 version. After AutoCAD has been changed to UNICODE concept, I modified ACHAR characters wherever necessary to compile properly. Now it is compiling properly and loading to AutoCAD 2008 version also. But it is not performing as expected.
    I tried in many ways to run this ARX application in debug mode but no luck.
    If I run the arx application in the debug mode, it opens the AutoCAD, but does not load any ARX command.
    Some site suggested to use netload command. But netload command is only for loading DLL files not ARX files. I need to debug ARX applications.
    Please help me to solve the problem. Your input is deeply appreciated!

    Thanks in advance.

    Haritha

  2. #2
    Member dmarcotte4's Avatar
    Join Date
    2003-10
    Posts
    43
    Login to Give a bone
    0

    Default Re: DEBUGGING arx applications for AutoCAD 2008 MAP 3D version

    You mean your compiler is Visual studio 2005 and not VB.NET? Trying guess at what you mean by “not performing as expected” would be quite difficult without a little more information. Are you getting an error message? Is CAD crashing?

    Dan

  3. #3
    Member
    Join Date
    2004-07
    Posts
    2
    Login to Give a bone
    0

    Default Re: DEBUGGING arx applications for AutoCAD 2008 MAP 3D version

    Dan,

    Yes the compiler is Visual Studio .Net 2005. When i try running the program in debug mode, it first gives me a message that "Debugging information for acad.exe does not match or cannot be found. No Symbols Loaded. Do you want to continue debugging?"

    I continue and then it opens AutoCAD, but there seems to be no activity (going by the command prompt).

    Thanks,

    Haritha

  4. #4
    Member dmarcotte4's Avatar
    Join Date
    2003-10
    Posts
    43
    Login to Give a bone
    0

    Default Re: DEBUGGING arx applications for AutoCAD 2008 MAP 3D version

    To debug your ARX, you might try
    1. Compile your code in debug mode.
    2. Launch CAD
    3. In Visual studio, select tools -> attach to process
    4 load your ARX
    5 run your command

    You can also setup break points. I also sometimes write messages to the prompt i.e
    Code:
    acutPrintf(_T(“ made it to this point”))
    near the locations that could fail

    Dan

Similar Threads

  1. Replies: 5
    Last Post: 2009-11-19, 09:03 PM
  2. Version d'évaluation Autocad MEP 2008
    By madmax13 in forum Français - AutoCAD Architecture / AutoCAD MEP
    Replies: 1
    Last Post: 2008-02-28, 05:57 PM
  3. Problems debugging ACAD 2008 with VS 2005
    By ivan.markov in forum Dot Net API
    Replies: 1
    Last Post: 2007-07-10, 11:23 PM
  4. Replies: 3
    Last Post: 2007-04-16, 07:12 PM
  5. Dis-associate Toolpac from AutoCAD 2008 trial version?
    By Cadtharsis in forum AutoCAD General
    Replies: 1
    Last Post: 2007-03-30, 09:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •