Stepping over or out of a Function

Only the processes belonging to green cursors can step over or out of functions. Remember that while your program is stopped at a breakpoint or watchpoint you can split or merge green and amber cursors.

To step over a function

  1. While the program is paused in break mode, click Step Over from the Debug menu. The debugger executes the next function on the processes belonging to green cursors, but pauses after the function returns. Note that in general there may be more than one green cursor and processors belonging to different cursors may have different "next function".

  2. Repeat step 1 to continue executing the program, one statement at a time.

To step out of a function

While the program is paused in break mode in some point inside the function, click Step Out from the Debug menu. The debugger continues until it has completed execution of the return from the function, then pauses. Note that in general there may be more than one green cursor and processors belonging to different cursors may be stopped inside different functions.

See also:

Cursors overview