next up previous
Next: Examining a Program Up: Using the Debugger Previous: Stopping Execution of a

  
Incremental Execution

Once a program is stopped, you may want to look around and run it slowly, a few statements at a time. The commands in menu Debug do this.

The step commands run the program one statement at a time. Step Over and Step Into both execute the next statement in the program. If that statement calls a method, Step Over executes the entire method call in a single step. Step Into moves into the body of the method so you can trace its execution. Use Step Into to examine your own methods and Step Over for methods supplied by us or CodeWarrior.

Step Out completes execution of the current method and stops at the place where the method was called.

Restart resumes execution until another breakpoint is reached or until the program terminates.

Break terminates execution and returns control to the debugger. Execution can be resumed after executing any desired debugger commands.

Kill terminates execution of the program. This is useful if you want to start the program over from the beginning without waiting for it to finish.


next up previous
Next: Examining a Program Up: Using the Debugger Previous: Stopping Execution of a
Kiri Wagstaff
2001-07-18