Begin by entering some debugging information in the text editor window containing the yinyang.lsp program.
To set a breakpoint that interrupts program execution
(setq half-r (/ radius 2))
The following screen snapshot indicates the position of this statement within the program:
(yinyang)
yinyang execution at the breakpoint you set and displays the code in the text editor window:
After you reply to the prompts the program displays at the AutoCAD command line, VLISP halts
Note how the statement following the cursor is highlighted.