Preprocessing

Preprocessing

APDL macro line-by-line debugging

    • Saad Sultan
      Subscriber

      Hello Everyone,

      I have a lot of .mac files from the previous projects. Is there any way or method which can enable a line-by-line debugging of the macros ?

      Just like debugging a code written in a programming language where the programmer can see the variables stored during run-time.

      best regards, 

       

       

       

       

       

       

    • Dave Looman
      Ansys Employee

      There is an undocumented command, DEBUG, you can issue in the APDL gui.  After issuing the command input the macro and you can step through it line by line.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.