Datasheet
PSoC Designer IDE Guide, Document # 001-42655 Rev *B 111
Debugger
7.2 Menu Options
The Debugger and ICE toolbars incorporate the most important Debugger functions.
A listing of all Debugger menu options is available in Table 7-1.
The I
2
C debugger does not use an external emulator and does not support the following:
■ Events Window
■ Trace Window
■ Trace Mode
All other debug functions are fully supported.
Table 7-1. Debugging Menu Options
Icon Menu/Tool Tip Shortcut Feature
Connect Connects PSoC Designer to ICE
Download to
Emulator
Downloads project .hex file to hardware emulator (Pod).
This file holds all device configurations and source-code
functionality
Execute
Program
Switches into Debugging subsystem, connects, down-
loads .hex, runs... all from one click
Go [F5] Starts debugger
Run to Cursor [F6]
Creates a temporary (invisible) breakpoint at the current
cursor location in the source code and runs the applica-
tion to that point.
Stop/Halt [Shift][F5] Stops debugger
Reset [Ctrl] [Shift] [F5]
Resets the device to a PC value of ‘0’ and restarts the
debugger
Step Into
a
a. If C source lines are compiled into assembly code that branches the execution path (such as lcall or call instructions), the Debugger
attempts to step into the source file of the destination address. For library code such as multiplication and division, a call to the library
assembly code is made but the original source file is not available in the project. Step Into then gives the message “No source available
for step operation.” Step Over can be used instead of step into for this situation.
[F11] Steps into next statement
Step Out [Shift] [F11] Steps out of current function
Step Over
a
[F10] Steps over next statement
Step ASM [Shift][F10]
If the current line of code is C code, the line is located in
the.lst file and that line is executed.
Refresh M8C
Views
Refreshes the data in the Memory, CPU Registers, and
Watch Variables debugger windows with current data from
the emulator.
Get Next Trace
Data
When the debugger halts, the trace data window is loaded
with the latest 64 lines of trace data. This button retrieves
an additional 64 lines.