Debugger : Debugger Commands : SHOW TRACE Command

SHOW TRACE Command

To see what objects are currently traced, you use the SHOW TRACE command in one of the following forms:

Pdb > SHOW TRACE
Pdb > SHOW TRACE object_class
Pdb > SHOW TRACE object_class subclass
Pdb > SHOW TRACE object_class list_of_objects
Pdb > SHOW TRACE STEP

 

The Debugger presents a list of all the traced objects of the requested class. For example, in response to the first of the previous commands, the following could be displayed:

Activities traced:
system:SAMPLE_DEVICE
system:SET_UP
Conditions traced:
Data-items traced:
ews:SAMPLED_DATA
Events traced:
system:DISCONNECT
ews:OUT_OF_RANGE
ews:RESET
system:TIME_CLICK
States traced:
ews:MONITORING
Step trace: OFF

 

 

In each group of objects, the names are displayed in alphabetical order. An empty group means no object of the corresponding class was traced, as in the case of conditions in the above example. For step trace, its current status is either OFF or ON.

If you requested a trace and used abbreviations to specify which objects to trace, the list shows the actual names of all the objects being traced, rather than the original abbreviation.

For example:

Pdb > SET TRACE EVENT s*
Pdb > SHOW TRACE EVENT

This produces:

Events traced:

ews:SAMPLED

system:STUCK

ews:SWITCHING