Monitors pane

The behavior of the Monitors pane changes depending on the platform running the program you are debugging. Select the appropriate platform:

Note: When viewing the Monitors pane, choosing the Expand All option from the pane's menu in the debugger main menu bar will expand one level of the tree at a time. You must choose Expand All for each subsequent level of the tree that you wish to expand. Choosing Collapse All will collapse all levels of the tree.

ngaix.gif (307 bytes)ngwin.gif (301 bytes) Monitors pane

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.

ngjava.gif (312 bytes) You cannot view registers in the Monitors pane when debugging interpreted Java programs.

If an element in the Monitors pane has subelements, such as arrays or classes, you can expand that element to display the subelements.

You can enable or disable the monitoring of expressions, registers, and variables. When monitoring is 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 (nbenvar.gif (91 bytes)). Disabled expressions, registers, and variables are indicated with a gray diamond (nbdisvar.gif (76 bytes)).

A pop-up menu option lets you edit the contents of variables or registers. You can also double-click to edit the contents.

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.

ngclang.gif (151 bytes) ngcpp.gif (202 bytes) 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 (nbenptr.gif (101 bytes)) in the list of expressions, registers, and variables being monitored. You can dereference these entries by using a pop-up menu option.

ngos400.gif (278 bytes) Monitors pane

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 arrays or classes, you can expand that element to display the subelements.

You can enable or disable the monitoring of expressions and variables. When monitoring is 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 (nbenvar.gif (91 bytes)). Disabled expressions and variables are indicated with a gray diamond (nbdisvar.gif (76 bytes)).

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. You cannot change the contents of expressions and variables that evaluate to addresses. You can only change the dereferenced value of the expressions and variables.

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.

ngclang.gif (151 bytes)ngcpp.gif (202 bytes) You can also add expressions and variables that evaluate to valid addresses (for example, pointers) to the Monitors pane. They are indicated with an arrow (nbenptr.gif (101 bytes)) in the list of expressions and variables monitored. You can dereference these entries by using a pop-up menu option.

Java references are also indicated with an arrow (nbenptr.gif (101 bytes)). You can dereference them to display the contents of the object.

ng390.gif (283 bytes) Monitors pane

Use the Monitors pane to view registers, variables, or expressions that you have chosen to monitor. You can only add variables that are in scope to the Monitors pane or use them in expressions you add to the Monitors pane.

ng390.gif (283 bytes) You cannot view registers or expressions in the Monitors pane when debugging COBOL programs.

ngjava.gif (312 bytes) You cannot view registers in the Monitors pane when debugging interpreted Java programs.

If an element in the Monitors pane has subelements, such as arrays or classes, that element can be expanded to display the subelements.

You can enable or disable the monitoring of expressions, registers, and variables. When monitoring is 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 (nbenvar.gif (91 bytes)). Disabled expressions, registers, and variables are indicated with a gray diamond (nbdisvar.gif (76 bytes)).

A pop-up menu option lets you edit the contents of variables or registers.

Another pop-up menu option lets you display the contents of a selected storage block according to a user-defined layout that is 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.

ngclang.gif (151 bytes) ngcpp.gif (202 bytes) 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 (nbenptr.gif (101 bytes)) in the list of expressions, registers, and variables monitored. You can dereference these entries by using a pop-up menu option.

ngclang.gif (151 bytes)ngcpp.gif (202 bytes) 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.