Stepping through an application in the EGL debugger

As explained in EGL debugger, the EGL debugger provides the following commands to control execution of a program during a debugging session:

Resume

Runs the code until the next breakpoint or until the end of the program.

Run to Line

Allows you to select an executable line in the Source view and run the code to that line.

Step Into

Runs the next EGL statement and pauses. The program stops at the first statement of a called function.

Step Over

Runs the next EGL statement and pauses, but does not stop within functions that are invoked from the current function.

Step Return

Returns to an invoking program or function.

With the exception of Run to Line, each of the commands can be accessed in the following ways:

To use Run to Line, do as follows when the program is paused:

  1. Position the cursor in the left margin of the Source view at an executable line, then right-click. A context menu displays.

  2. Click Run to Line.

When using Run to Line, keep in mind the following:

Related concepts
EGL debugger

Related tasks
Creating a launch configuration in the EGL debugger
Starting a non-J2EE application in the EGL debugger
Using breakpoints in the EGL debugger
Viewing variables in the EGL debugger