Datasheet

PSoC Designer IDE Guide, Document # 001-42655 Rev *B 115
Debugger
To help with troubleshooting, you can view your application source files inside the Debugger sub-
system. If the project source tree is not showing, click View > Workspace Explorer.
The project files that you view in the debugger will be read-only while the debugger is running or
halted at a breakpoint. The source files are editable when the debugger is reset.
7.5.1 Trace
The Trace feature enables you to track and log device activity at either a high or detailed level. Such
activity includes register values, data memory, and time stamps.
The Trace window is displayed when Debug > Windows > Trace is chosen.
The Trace window displays a continuous, configurable listing of project symbols and operations from
the last breakpoint. (The trace shows symbolic, rather than address data, to enhance readability.)
Each time program execution starts, the trace buffer is cleared. When the trace buffer becomes full,
it continues to operate and overwrite old data.
Figure 7-5. Trace Window
Configure the Trace window by selecting either Debug > Trace Mode or Tools > Options from the
menu. Configuration options include:
PC Only – Lists the PC value and instruction only.
PC/Registers – Lists the PC, instruction, data, A register, X register, SP register, F register, and ICE
external input.
PC/Timestamp – Lists the PC, instruction, A register, ICE external input, and time stamp.
You can save the trace as a text file by selecting File > Save Trace.txt or File > Save Trace.txt as.