µVision User's Guide

legacy

Pstep

SyntaxDescription
Pstep expressionExecutes or steps over expression program lines or assembly instructions. The Pstep command steps over functions and subroutines.

The Pstep command executes one or more source-level instructions or assembly instructions depending on the display mode selected in the Debug window. The Pstep command does not step into function calls. For information about how to step into function calls, refer to Tstep.

The Pstep command steps over source-level instructions or assembly instructions depending on the Debug window display modes outlined in the following table.

Display ModeDescription
AssemblyPstep steps over assembly instructions but does not step into subroutines or functions.
MixedPstep steps over assembly instructions but does not step into subroutines or functions.
High-Level LanguagePstep steps over program statements in your C or PL/M-51 program but does not step into subroutines or functions.
Example
>P 100      /* Execute 100 steps, ignoring calls */
>P          /* Execute a step, ignoring calls    */