You copied the Doc URL to your clipboard.


Rewinds execution to the preceding source line in the current function.


You must compile your code with debug information to use this command successfully.


reverse-next [count]


Specifies the number of source lines to rewind. The default is one line.
Note Execution stops immediately if a breakpoint is reached, even if fewer than count source lines are executed.
Note Reverse stepping is unaware of inline functions and might not operate correctly in highly optimized code. Use unoptimized code for the best debug experience.

Example 1-121 Examples

reverse-next                       # Reverse step one source line
reverse-next 5                     # Reverse step five source lines