LispWorks IDE User Guide > 26 The Stepper > 26.7 Stepping macro forms


26.7.1 Interactive macroexpansion

When the Stepper reaches code for which the source contains an unexpanded macro form, by default it offers you the option of macroexpanding that form.

To see this, follow the example in Standalone use of the stepper and when your reach my-function choose Debug > Stepper > Step Through Call or click in the Stepper toolbar.

The source code for my-function is shown in the Source area of the Stepper. Choose Debug > Stepper > Step or click in the Stepper toolbar.

Click Yes on the dialog asking "Expand MY-MACRO form?". The macroexpansion replaces the macro form:

Figure 26.8 Stepping a macroexpansion

Now you can Step into the macroexpansion of my-macro .

LispWorks IDE User Guide (Windows version) - 22 Dec 2009