µVISION DEBUGGER: Single-Step Does Not Always Advance
Information in this knowledgebase article applies to:
When using Step Over to step through my C code, sometimes the debugger does not always advance to the next C code line.
Why is that?
When a line contains a multiple statement on a single line for example:
while (Buttons_GetState() & (1 << 0)); /* Wait while holding USER button */
The first Step Over (F10) performs the Buttons_GetState() function. The second Step Over performs evaluates the while argument. Finally, the third Step Over advances to the next line if the argument value is false.
Last Reviewed: Wednesday, June 3, 2015
of your data.