Everything

[Source Level] tab


Use this tab to search the acquired trace data at the source level.

Caution

If the Trace panel is set to Disassemble display mode, then performing an source level search via this tab will not perform the target search correctly. In order to perform an source level search, set the mode to Mixed display mode or Source display mode.

Figure A.31

Trace Search Dialog Box: [Source Level] Tab

 

This section describes the following.

[How to open]

-

On the Trace panel, select button on the toolbar.

-

On the Trace panel, select [Find…] from the context menu.

[Description of each area]

(1)

[Search object] area

Select the search object from the following option buttons.

The execution part is retrieved specifying the source line

Finds the execution location in the specified source line (default).

Only [Source and Line] will be enabled as a search parameter.

The execution part is retrieved specifying the function

Finds the execution location in the specified function.

Only [Function Name] will be enabled as a search parameter.

The execution part is retrieved specifying the global variable

[IECUBE][Simulator]

Finds the location at which the specified global variable was accessed.

Only [Variable Name] [IECUBE][Simulator], [Kind] [IECUBE][Simulator] and [Value] [IECUBE][Simulator] will be enabled as a search parameters.

(2)

[Search condition] area

(a)

[Source and Line]

This item is only enabled if [The execution part is retrieved specifying the source line] is selected.

The specified character strings in this area are searched within the [Line/Address] area of the Trace panel.

You can either type the character strings of the source line to be find directly into the text box, or select them from the input history via the drop-down list (up to 10 items).

Searches are case-insensitive, and only complete matches are retrieved.

Example 1.

main.c#40

Example 2.

main.c

Example 3.

main

(b)

[Function Name]

This item is only enabled if [The execution part is retrieved specifying the function] is selected.

You can either type the function name to be find directly into the text box, or select it from the input history via the drop-down list (up to 10 items).

Searches are case-insensitive, and only complete matches are retrieved.

(c)

[Variable Name] [IECUBE][Simulator]

This item is only enabled if [The execution part is retrieved specifying the global variable] is selected.

You can either type the variable name to be find directly into the text box, or select it from the input history via the drop-down list (up to 10 items).

Searches are case-insensitive, and only complete matches are retrieved.

(d)

[Kind] [IECUBE][Simulator]

This item is only enabled if [The execution part is retrieved specifying the global variable] is selected.

Select the access type ([Reference/Substitution], [Reference], or [Substitution]) from the drop-down list.

(e)

[Value] [IECUBE][Simulator]

This item is only enabled if [The execution part is retrieved specifying the global variable] is selected.

Specify the accessed variable value in hexadecimal number.

You can either type a variable value directly into the text box, or select one from the input history via the drop-down list (up to 10 items).

The variable value can also be specified as a range. In this case, specify a range by specifying variable values in both the left and right text boxes.

If the right-hand text box is blank, then access locations with the fixed variable values specified in the left-hand text box will be searched for.

(3)

[Search range] area

(a)

[Number]

Specify the range within the trace data to search via the number displayed in the [Number] area of the Trace panel.

Specify the starting number in the left text box, and the ending number in the right text box ("0" to "last number" are specified by default).

You can either type the numbers directly into the text boxes (in base-10 format), or select them from the input history via the drop-down lists (up to 10 items).

If the left-hand text box is left blank, it is treated as if "0" were specified.

If the right-hand text box is left blank, it is treated as if the last number were specified.