This panel displays detailed information on the events that have been set on the Editor panel, Disassemble panel or Watch panel, as well as chooses to enable or disable event settings or deletes event settings (see "2.17 Event Management").
Note that this panel can be opened only when CS+ is connected with the debug tool.
For details about event settings, see "2.17.7 Points to note regarding event setting." |
The events that have been set on the Function List panel or Variable List panel of the analysis tool are also managed on this panel. |
By double-clicking a line delimiting each area on the panel, it is possible to change the relevant area to the smallest displayable width without omitting the content in it. |
This section describes the following.
On the Editor panel or Disassemble panel, select [Timer Settings] and then [View Result of Timer] on the context menu. |
On the Editor panel or Disassemble panel, move the caret to an event mark and then select [View Details in Event Panel] from the context menu. |
This area lists the currently set event names in the form shown below.
By selecting the appropriate toolbar button, it is possible to limit the types of events displayed here (see [Toolbar]). |
Clicking the check box displays or changes the set state of an event.
Note that when the set state of an event is changed, the Event mark also changes accordingly.
The enabled or disabled settings of an unconditional trace event and other trace events are controlled exclusively of each other. Therefore, although the unconditional trace event, one of the built-in events, is enabled by default, when either a trace start or a trace end event is set, it is automatically disabled at the same time, in which case, a trace event (consisting of a trace start and a trace end event that are combined into one) is enabled. |
[Simulator] |
The event mark indicates the type of an event and shows its currently set state.
The displayed event marks and their meanings are as follows:
Displayed on only the Events panel |
|||||
Displayed on only the Editor panel and Disassemble panel |
|||||
Displayed on only the Events panel |
|||||
Displayed on only the Editor panel and Disassemble panel |
|||||
Displayed on only the Editor panel and Disassemble panel |
This applies when there is no enabled event but at least one disabled event among multiple events. |
The type of an event and its ID number are displayed as an event name.
The ID number is automatically assigned beginning with 0001 for each event type. (Even when an event that was once set is deleted, the other events are not reassigned ID numbers.)
The displayed event types are as follows:
This event is such that the debug tool successively checks break condition during program execution and, when the condition is met, causes the program to break. -> See "2.10.2 Stop the program at the arbitrary position (breakpoint)" -> See "2.10.4 Stop the program with the access to variables/I/O registers" |
||
This event is such that instruction code at an address where a break is to occur is rewritten with a break instruction, so that when the instruction is executed, the program is made to break. -> See "2.10.2 Stop the program at the arbitrary position (breakpoint)" |
||
When, while the debug tool successively is checking plural break conditions during program execution, the combination condition is met, this event causes the program to break. ->See “2.10.5 Set multiple break events in combination (Combination break) [E1] [E20]“ |
||
Trace data is automatically collected at the same time the program starts running, and collection of trace data is halted simultaneously when the program stops. Since this event is a built-in event Note2, it cannot be deleted. (This event is Enabled by default.) -> See "2.13.2 Collecting an execution history up to a halt" |
||
A measurement of the program's execution time automatically begins at the same time the program starts running, and the measurement of execution time is halted simultaneously when the program stops. Since this event is a built-in event Note2, it cannot be deleted. (This event is Enabled by default.) |
||
This event is such that when the condition set by a trace start and a trace end event is met, collection of trace data begins and then ends (displayed when either a trace start or a trace end event is set). -> See "2.13.3 Collecting an execution history in a section" |
||
This event is such that when the condition set by a timer start and a timer end event is met, a measurement of the program's execution time begins and then ends (displayed when either a trace start event or a trace end event is set). |
||
This event is such that when a specified variable or I/O register is accessed by program execution, the accessed information is recorded in trace memory. -> See "2.13.4 Collecting an execution history only when conditions are met" |
||
This event is such that program execution is momentarily halted at any location and then a printf command is executed by a software process (i.e., an action event). -> See "2.16.1 Insert printf" |
||
This event generates an interrupt at any place during program execution (action event). |
A breakpoint that is set by clicking the mouse once is displayed as "Break" (see "2.10.2.2 Set a breakpoint"). |
In addition to the above event types, following event types may be displayed if events (breakpoints or break events) have been set on the Function List panel or Variable List panel of the analysis tool. |
To zoom in and out of the Event panel view, change the zoom ratio by using the drop-down list on the toolbar of the Events panel while the focus is placed in the Event panel.
You can also change the zoom ratio by using the [Ctrl] key + mouse-wheel combination.
Using the [Ctrl] key + mouse-wheel forward will zoom into the view, making the contents larger and easier to see (max. 300%). |
Using the [Ctrl] key + mouse-wheel backward will zoom out of the view, making the contents smaller (min. 50%). |
If the panel is closed after the zoom ratio is changed, the changed zoom ratio is retained (next time, the panel will open at the changed zoom ratio).
This area displays detailed information on each event.
The content of displayed information differs with event type.
The following shows how to read detailed information for each event type.
One of the following conditions is displayed: Execution-related: Before Execution, After Execution Access-related: Read, Write, Read/Write |
|
A source file name and a line number in the source file are displayed. The display form is the same as for the scope specification expression of a watch-expression. If there are multiple load module files that are downloaded, <Load module name$File name#Line number> is displayed. For events set on the Disassemble panel, however, a <Line number> is displayed in the form <Symbol + Offset>, if the following applies: - Line information exists and a specified event set position is not at the beginning of line information. - No line information exists, but symbol information exists. Also, a line number is displayed with "-," if the following applies: - No line information exists, and no symbol information exists. |
|
A variable name in a source file is displayed. The display form is the same as for the scope specification expression of a watch-expression. |
|
A comparison condition (==) is displayed. This is not displayed if no comparison value is specified. |
|
A comparison value is displayed. This is not displayed if no comparison value is specified. |
|
The beginning and the end address of a specified variable in a memory area are displayed (always in hexadecimal). |
|
Detailed information on combination break event is displayed. |
|
The total execution time measured by a timer is displayed. The time is expressed in one of ns/μs,/ms/s/min units. (However, if expressed in "min," a "s" digit is displayed at the same time.) If the timer has overflowed (see "2.14.4 Range of measurable time") or the value is invalid, "OVERFLOW" is displayed. |
|
The total number of trace start and trace end events is displayed. |
|
Displays whether the content of the detailed information is about start event or end event. |
|
Detailed information on trace start and trace end events is displayed. |
|
The pass count of a timer is displayed. If the timer has overflowed (see "2.14.4 Range of measurable time") or the value is invalid, "OVERFLOW" is displayed. |
|
Displays the total number of cycles executed between Run-Break as the result of measurements made. |
|
Displays the total number of instructions executed between Run-Break as the result of measurements made. |
|
The <Output character string>: <Variable expression> specified in the Action Events dialog box is displayed. |
|
Displays the interrupt vector specified in the Action Events dialog box or Detailed Settings of Interrupt Events dialog box [Simulator]. |
|
Displays the priority level specified in the Action Events dialog box or Detailed Settings of Interrupt Events dialog box [Simulator]. |
This area permits the user to enter freely a comment on any event that is set.
To enter a comment, select the event for which you want to enter a comment and click in this area or select [Edit Comment] on the context menu, and then enter any text directly from the keyboard. (Pressing the [Esc] key cancels the editing mode.)
When you've finished editing a comment, press the [Enter] key or move the focus to other than the edit area to complete your editing.
Note that a comment can be entered for up to 256 characters each, and the comment is saved as the one set by the current user.
Deletes a selected event or an event condition. However, the built-in events (unconditional trace and Run-Break timer events) cannot be deleted. |
||
Displays action events (Printf event or interrupt event) (default). |
||
Displays built-in events (unconditional trace and Run-Break timer events) (default). |
||
Opens the Editor panel, with the caret on it moved to the source line corresponding to the address where a selected eventNote is set. |
||
Opens the Disassemble panel (Disassemble1), with the caret on it moved to the disassembled result corresponding to the address where a selected eventNote is set. |
||
Opens the Memory panel (Memory1), with the caret on it moved to the memory value corresponding to the address where a selected eventNote is set. |
This does not include trace events, timer measurement events, and built-in events (unconditional trace and Run-Break timer events). |
[[Edit] Menu (Event Panel-Only Items)]
The [Edit] menu used exclusively for the Events panel is as follows. (All other items are disabled.)
However, this is ignored if the selected event is already enabled. |
||
However, this is ignored if the selected event is already disabled. |
||
Deletes a selected event or an event condition. However, the built-in events (unconditional trace and Run-Break timer events) cannot be deleted. |
||
Shows the following cascaded menu to limit the event types to be displayed. |
||
Displays built-in events (unconditional trace and Run-Break timer events). |
||
Shows the following cascaded menu to make timer-related settings. However, this is enabled only when a timer-related event is selected. |
||
Initializes the timer to be used in a selected event (not including the Run-Break timer event). |
||
Displays the result of a selected event measured by a timer in nanosecond (ns) units. |
||
Displays the result of a selected event measured by a timer in microsecond (μs) units. |
||
Displays the result of a selected event measured by a timer in millisecond (ms) units. |
||
Displays the result of a selected event measured by a timer in second (s) units. |
||
Displays the result of a selected event measured by a timer in minute (min) units. |
||
Opens the Memory panel (Memory1), with the caret on it moved to the memory value corresponding to the address where a selected eventNote1 is set. |
||
Opens the Disassemble panel (Disassemble1), with the caret on it moved to the disassembled result corresponding to the address where a selected eventNote1 is set. |
||
Opens the Editor panel, with the caret on it moved to the source line corresponding to the address where a selected eventNote1is set. |
||
Opens the detailed settings dialog box corresponding to a selected eventNote2. If a Trace event or combination break is selected, the Combination Condition dialog box [E1] [E20] is opened. If a Printf event is selected, the Action Events dialog box is opened. |
||
Places a comment on a selected event into editing mode. If a comment for the event already exists, the whole of its character string is selected. |
This does not include trace events, timer measurement events, and built-in events (unconditional trace and Run-Break timer events). |