![]() |
![]() |
![]() |
The behavior of the Monitors pane changes depending on the platform running the program you are debugging. Select the appropriate platform:
Use the Monitors pane to view registers, variables or expressions that you have chosen to monitor. Only variables that are in scope can be added to the Monitors pane or used in expressions you add to the Monitors pane.
You can not view
registers in the Monitors pane when debugging interpreted Java programs
If an element in the Monitors pane has subelements, such as an array or a class, that element can be expanded to display the subelements.
You can enable or disable the monitoring of expressions, registers, and variables. When
disabled, the value displayed does not change during program execution even though the
actual value of the expression, register, or variable has changed. Enabled variables,
expressions and registers are indicated with a red diamond (). Disabled expressions,
registers, and variables are indicated with a gray diamond (
).
A pop-up menu option lets you edit the contents of variables or registers. If you try to change the value of an expression, the Distributed Debugger will display an error message.
Other pop-up menu options let you delete an expression, register, or variable from the Monitors pane and change the representation of an expression, register, or variable.
Expressions, registers and
variables that evaluate to valid addresses (for example, pointers) can also be added to
the Monitors pane. They are indicated with an arrow (
) in the list of expressions, registers, and variables
monitored. These entries can be dereferenced using a pop-up menu option.
The contents of expressions,
registers and variables that evaluate to addresses cannot be changed. Only the
dereferenced value of the expressions, registers and variables can be changed.
Use the Monitors pane to view variables or expressions that you have chosen to monitor. Only variables in scope will display the correct value.
If an element in the Monitors pane has subelements, such as an array or a class, that element can be expanded to display the subelements.
You can enable or disable the monitoring of expressions and variables. When disabled,
the value displayed does not change during program execution even though the actual value
of the expression or variable has changed. Enabled variables and expressions
are indicated with a red diamond (). Disabled expressions and variables are indicated with a
gray diamond (
).
A pop-up menu option lets you edit the contents of variables. If you try to change the value of an expression, the Distributed Debugger will display an error message. The contents of expressions and variables that evaluate to addresses cannot be changed. Only the dereferenced value of the expressions and variables can be changed.
Other pop-up menu options let you delete an expression or variable from the Monitors pane and change the representation of an expression or variable.
Expressions and variables that
evaluate to valid addresses (for example, pointers) can also be added to the Monitors
pane. They are indicated with an arrow (
) in the list of expressions and variables monitored. These
entries can be dereferenced using a pop-up menu option.
Java
references are also indicated with an arrow (
). They can be dereferenced to display the contents of the
object.
Use the Monitors pane to view registers, variables, or expressions that you have chosen to monitor.Only variables that are in scope can be added to the Monitors pane or used in expressions you add to the Monitors pane.
You can not view registers
in the Monitors pane when debugging interpreted Java programs
If an element in the Monitors pane has subelements, such as an array or a class, that element can be expanded to display the subelements.
You can enable or disable the monitoring of expressions, registers, and variables. When
disabled, the value displayed does not change during program execution even though the
actual value of the expression, register, or variable has changed. Enabled variables,
expressions and registers are indicated with a red diamond (). Disabled expressions,
registers, and variables are indicated with a gray diamond (
).
A pop-up menu option lets you edit the contents of variables or registers. If you try to change the value of an expression, the Distributed Debugger will display an error message.
Another pop-up menu option lets you display the contents of a selected storage block according to a user-defined layout specified in an XML file. This pop-menu option is not available when debugging interpreted Java programs.
Other pop-up menu options let you delete an expression, register, or variable from the Monitors pane and change the representation of an expression, register, or variable.
Expressions, registers and
variables that evaluate to valid addresses (for example, pointers) can also be added to
the Monitors pane. They are indicated with an arrow (
) in the list of expressions, registers, and variables
monitored. These entries can be dereferenced using a pop-up menu option.
The contents of expressions,
registers and variables that evaluate to addresses cannot be changed. Only the
dereferenced value of the expressions, registers and variables can be changed.