Debugging a program helps to find potential problems in the code.
Note: The Visual LISP IDE is available on Windows only.
- In Visual LISP, click Debug Stop Once.
- Open the program you want to execute and debug.
- Click Tools Load Text in Editor.
- At the AutoCAD command prompt, enter the command or function to begin the execution of the program.
Visual LISP enters a break loop at the first expression of the command or function.
- Click Debug Step Into, Step Over, or Step Out to step through the code expressions that define the command or function.
- Click Debug Continue to exit the break loop and resume normal execution of the program.