191
CHAPTER2 Dependence Functions
2.4.8.1 Displaying Trace DataThis section explains how to display trace data.
■Display Formats of Trace Data
The following three formats can be used to display trace data.
RAW data: Displays trace data without analyzing it.
Instruction: Displays trace data in the order in which instructions are executed.
Source: Displays trace data on a source line basis.
■Trace Data Display Position
Trace data is numbered by frame. This number is called a "frame number".
When displaying trace data, the starting location in the trace buffer can be specified using the frame
number.
Figure 2.4-10 Frame Numbering at Tracing
Ordinarily, the last sampled trace data is assigned to frame number 0.
However, if the sequencer is specified, frame numbers are assigned as follows.
• Trace data at the point where the termination trigger occurs:Frame number 0
• Trace data sampled before reaching the trigger point: Negative frame number
■How to Display Trace Data
Trace data is displayed in the trace window or command window.
The following two display methods are available, both of which enable you to obtain the same result.
Using trace window
1. Display the trace window.
- Select [View] - [Trace] menu.
2. Select the display mode of the trace window.
- Right-click on the trace window, and select [RAW data], [Instruction], or [Source] from the pop-up
menu.
For details, refer to Section "3.14 Trace Window" in "SOFTUNE Workbench Operation Manual".
Trace trigger occurs
Frame number 0 1 2 3456
Program flow