beautypg.com

Status bar, Code line indicators, Status bar code line indicators – Zilog ZUSBOPTS User Manual

Page 356

background image

Status Bar

UM017105-0511

328

Zilog Developer Studio II – ZNEO™
User Manual

The Debug toolbar is described in the

Debug Toolbar

section on page 20, and the Debug

Windows toolbar is described in the

Debug Windows Toolbar

section on page 22.

Project code cannot be rebuilt while in Debug Mode. The ZDS II will prompt you if you
request a build during a debug session. If you edit code during a debug session and then
attempt to execute the code, ZDS II will stop the current debug session, rebuild the project,
and then attempt to start a new debug session if you elect to do so when prompted.

Status Bar

The status bar displays the current status of your program’s execution. The status can be
STOP, STEP or RUN. In STOP mode, your program is not executing. In STEP mode, a
Step Into, Step Over, or Step Out command is in progress. In RUN mode, a Go command
has been issued, your program is executing, and no breakpoint has yet been encountered.

Code Line Indicators

The Edit window displays your source code with line numbers and code line indicators.
The debugger indicates the status of each line visually with the following code line indica-
tors:

A red octagon indicates an active breakpoint at the code line; a white octagon indi-
cates a disabled breakpoint

Blue dots are displayed to the left of all valid code lines; these are lines where break-
points can be set, the program can be run to, and so on

Some source lines do not display blue dots because the code has been optimized out of the
executable (and the corresponding debug information).

A program counter code line indicator (yellow arrow) indicates the code line at which
the program counter is located

A program counter code line indicator on a breakpoint (yellow arrow on a red octa-
gon) indicates a code line indicator has stopped on a breakpoint

If the program counter steps into another file in your program, the Edit window switches
to the new file automatically.

Note:

Note:

This manual is related to the following products: