show

The show command enables you to view the status of an object. It enables you to view the status of the object by subject. Subjects include existence, attributes, methods, and events.

For example, the following command displays a list of all B[5] attributes and their current values:

   show B[5] attributes

Syntax

show <object> <interest-list>

Arguments

object

Specifies the object to be traced. It can be one of the following items:

interest-list

Specifies the list of subjects, separated by a commas. The interest list determines what information about the object is reported to you.

This list is optional; if you do not enter any subjects, the tracer reports on the existence of the object only, as if you had executed the following command:

show <object> existence

The possible subjects are as follows:

Table 1. Possible subjects for show command
existence constructors
relations destructors
attributes timeouts
states parameters
controls subclasses
methods threads
events  

The subject existence reports on the existence of the object.

The subject subclasses applies the trace commands to all of the subclasses for a class. It is relevant only to class objects.

The following keywords can be used to define which objects to show (they are not case sensitive):

Examples

show A[0] states

Shows the current states of A[0].

show #all all

Displays all information about all instances.

show #Breakpoints

Shows all breakpoints.

show #Threads

Shows all threads.

Show MyClass relations

Shows all relations of all instances for every instance of MyClass.

Special Cases

Consider the following special cases when using the show command:


Feedback