Data Browser
The Data Browser shows the values of required expressions, and the
data-tree under it.
Snapshot 1: Data Browser
You can open the Data Browser for a specific expression in following
ways:
-
In Specview, type at the prompt: show data <expression>
-
From within the Data Browser, select a data-item, and click 'Show Data'
in the toolbar, or right-click a data-item, and select 'Show Data' in the
popup menu.
-
From within Data Browser, type an expression in the 'Expression' combo-box
, and hit Enter.
-
Select an expression in the 'Expression' combo-box
-
Use the 'Prev' and 'Next' actions in tool-bar or right-click menu to navigate
through history of visited items.
Class Browser
The Class Browser shows the structure of Specman units and structs,
and their inheritance relations.
Snapshot 2: Class Browser
You can open the Class Browser for a specific unit or struct in the
following ways:
-
In Specview, type at the prompt: show class <unit-name
| struct-name>
-
From within the Class Browser, select a struct/unit , and click 'Show Class'
in the toolbar, or right-click a struct/unit , and select 'Show Class'
in the popup menu.
-
From within the Class Browser, type a struct/unit name in the 'Name' combo-box
, and hit Enter.
-
From the Data Browser, select a data item, and click 'Show Class' in the
toolbar, or right-click a data item, and select 'Show Class' in the popup
menu.
-
Select an item in the 'Name' combo-box
-
Use the 'Prev' and 'Next' actions in tool-bar or right-click menu to navigate
through history of visited items.
Legend
-
Each expression (in the Data-Browser) has a unique image representation
according to its type.
The type-definition (in the Class-Browser) has the same images,
but surrounded by rectangle.
|
Expression
Data-Browser |
Type-Definition
Class-Browser |
Unit Instance |
 |
 |
Unit Reference |
 |
 |
Struct |
 |
 |
Scalar (int, string, etc.) |
 |
 |
-
A list is represented by an icon with a sequence of images.
For example: A list of unit instances definitions - 
-
A sub-type under When is displayed with a 'W' on top of the image.
For example: A packet under when: 
Actions
Here is a list of all available actions (in toolbars) in both browsers:
Icon |
Name |
Description |
 |
Show-Data |
(Data-Browser only)
Show data tree for the selected expression |
 |
Show-Class |
Show class information for selected item |
 |
Refresh-Item |
Refresh the current item |
 |
Type Source |
Show the source of selected type |
 |
Field Source |
Show the source of selected field |
 |
Prev Item |
Go back to previous item |
 |
Next Item |
Move forward to next item |
 |
Close Window |
Close the window |
 |
Show Help |
Show this help screen |
Notes
-
The content of the Data browser will be automatically refreshed after each
file loading,
and after the generation phase of the test process.
-
The content of the Class browser will be automatically refreshed after
each file loading.