Breakpoints allow you to pause the execution of a program and step through the code line by line.
Toggle Breakpoint. Toggle Breakpoint switches breakpoints on and off. When no breakpoint exists, Toggle Breakpoint adds a break; if a breakpoint already exists at the cursor position, Toggle Breakpoint removes it.
Load Text in Editor. When program execution reaches the breakpoint, Visual LISP interrupts execution and displays the code in the text editor window.
Continue to resume execution of the program. Begin by entering some debugging information in the Visual LISP text editor window containing the yinyang.lsp program.
(setq half-r (/ radius 2))
The following screen snapshot indicates the position of this statement within the program:

Toggle Breakpoint. Toggle Breakpoint switches breakpoints on and off. When no breakpoint exists, Toggle Breakpoint adds a break; if a breakpoint already exists at the cursor position, Toggle Breakpoint removes it.
Load Text in Editor to load the yinyang function, if you have not done so already, run it from the Visual LISP Console window prompt by entering the following: (yinyang)
After you reply to the prompts the program displays at the AutoCAD Command prompt, Visual LISP pauses execution at the breakpoint you set and displays the code in the text editor window:

Note how the statement following the cursor is highlighted.
Continue to resume execution of the program.