Working with monitors

Use the Monitor pane to create monitors that track and examine specific global variables or expressions. You can perform any of the following actions:

Notes:

Usually, you work with monitors in the Monitors pane; however, you can also create monitors in the Source window. Unless otherwise specified, the following procedures assume that you are working in the Monitors pane.

You can work with the PASE Debugger in a variety of ways: by right-clicking appropriate objects or by using a menu or a keyboard shortcut, or by using the tool bar (if the command has a tool icon). The following procedures specify only one way to select a command.

Examining the contents of variables

The monitors in the upper portion of the pane display the hexadecimal addresses for the variables. The read-only text area in the lower portion of the pane displays the contents of the variables.

Watching variables

To watch a variable, select Watch on the row that contains the variable. To stop watching a variable, deselect Watch. Watching a variable causes the debugger to stop program operation whenever the location of the variable changes.

Displaying memory associated with a variable

To display the memory that is associated with a variable, right-click the row that contains the variable and select Go to Memory or New Memory Window.

Create and deleting monitors

To create a new monitor, complete the following steps:

  1. Right-click the Monitors pane (or the Source pane) and select New Monitor.
  2. In the New Monitor dialog, type the variable or expression that you want to monitor.
  3. Click OK.

To delete a single monitor, right-click the monitor that you want to delete and select Delete Monitor.

To delete all the monitors, right-click the Monitors pane and select Delete All Monitors. Confirm your choice by clicking Yes in the Delete All Monitors message box.

Copying data to the clipboard

To copy all the data from the pane to the clipboard, right-click in the pane and select Copy Panel.

Suspending and resuming updates

To suspend updates to the pane, right-click the Monitors pane and select Suspend Updates. To begin updating again, right-click in the pane and select Resume Updates.