
11-20
ZSP IDE Debugger
using the Working Directories specification in the Project Settings dialog
of the IDE.
Accessing Source Code Window
The Source Code Window is accessible through the Program View Menu
by selecting “Source Code”.
Program execution tracking
Tracking of program execution is visible through the Source and
Disassembly Windows. The Current Line is highlighed as the next
instruction to be executed.
Source Code Window Display
The Source Code Window is populated based on information reported
from the Command Line Debugger. When the Source Code Window is
created, all source files known to the Command Line Debugger are
inserted into the file selection pulldown box when the Source Code
Window is created. The content of the source files are read from their
files and displayed in the Source Code Window either when you select
the file for viewing from the file selection pulldown box or when program
execution enters that source code file.
Figure 11.22
Source Code Window
Source Code Window Syntax Highlighting
If the project preferences indicate that syntax highlighting is desired,
each file will be highlighted at creation.
Source Code Window progress bar
While source file loading or highlighting is in progress, a progress bar is
displayed to inform the user of the status of the operation. If the source
file is a Top Level window then the progress bar is also displayed as a
Top Level window, otherwise the progress bar is displayed in the Main
Window status area.