Evaluating Jython expressions

During a debug session, you can watch Jython expressions. When you watch a Jython expression, it is evaluated in the current debug context in the Expressions view and reevaluated each time the debugger suspends (for example, when a breakpoint is hit).

You can set Jython expression watches from the Variables view or from the Expressions view.

Once you have set a watch expression, you can enable, disable, edit, or remove it using pop-up menu items in the Expressions view.

To watch a Jython expression from the Expressions view, complete these steps:

  1. Right-click in the Expressions view and choose Add Watch Expression from the pop-up menu.
  2. In the Add Watch Expression dialog box, enter the expression to watch.
  3. If you want the watch to be disabled, deselect the Enable check box. Otherwise, leave this check box selected.
  4. Click OK to exit the dialog box.

To watch a Jython expression from the Variables view, complete these steps:

  1. In the Variables view, select the expression that you want to watch.
  2. Right-click the expression and choose Watch from the pop-up menu.

Feedback