This
topic shows you how to use breakpoints in debugging your programs.
You can manage breakpoints inside or outside of an EGL debugging session.
Prerequisites
- An EGL project
- An EGL program or other logic part that
needs debugging
Breakpoints are used to pause
the execution of a program in the debugger.
You can manage breakpoints inside or outside of an EGL debugging session.
Keep the following in mind when working with breakpoints:
- A
blue marker in the left margin of the Source view indicates that a
breakpoint
is set and enabled.
- A white marker in the left margin of the
Source view indicates that a
breakpoint is set but disabled.
- The absence of a marker in
the left margin indicates that a breakpoint
is not set.
Adding or removing a breakpoint
To add or remove a single breakpoint in an EGL source file you
can do either
of the following:
- Position the cursor at the breakpoint
line in the left margin of the Source
view and double-click.
- Position the cursor at the breakpoint
line in the left margin of the Source
view and right-click. A menu opens. Click either Add or Remove (The Remove option
is only there if a breakpoint is already set).
Disabling
or enabling a breakpoint
To disable or enable
a single breakpoint in an EGL source file, follow
these steps:
- In the Breakpoint view, right-click on the
breakpoint. A menu opens.
- Click either Enable or Disable.
Remove all breakpoints
To
remove all breakpoints from an EGL source file, follow these steps:
- Right-click any breakpoint that is displayed in the Breakpoints
view.
A menu opens.
- Click Remove All.