Keil™, An ARM® Company

µVision® User's Guide

Ostep

SyntaxDescription
OstepSteps out of the current function invocation. If no function has been called, µVision3 issues an error.

The Ostep command starts execution from the current program counter and stops if the current function returns to the statement following the function invocation. µVision3 internally maintains a list of currently nested function calls including the code address where a function invocation took place. If no function calls are present in the list, µVision3 issues an error when the Ostep command is used.

Refer to Pstep and Tstep for information on other trace commands.

Example
>O    /* Steps out of the current function */