Debugger : Reference to Rational Statemate Objects : Names and Synonyms

Names and Synonyms

In Debugger commands, you refer to all objects by name. If the object has a synonym, then you can also refer to it by synonym. For example, if an event POWER_ON has the synonym P_ON, you may generate this event with either of the following commands:

SET EVENT power_on:=true
SET EVENT p_on:= true

 

 

You may also refer to a particular element by its name in one command and its synonym in another command.

You can use the name of the chart the objects belongs to as a prefix to its name with a separating colon.

For example:

SET EVENT ews:p_on:=true

 

 

Whenever names are displayed, either in trace messages or in the output of the Debugger, this last convention, including the chart name, is used.

If a synonym also exists, it is printed in parentheses next to the name. For example, in response to the input:

Pdb > LIST EVENT
 
 

you would get:

List of events
. . .
ews:power_on (p_on)
. . .