Editing line breakpoint properties

About this task

If you set your line breakpoint by double-clicking on the prefix area of a line in the IBM® i editor, you can only edit the following properties of the line breakpoint:
  • How often the debugger should skip the breakpoint (the frequency)
  • Whether to stop on the breakpoint only when a given expression is true (where any non-zero value is true)
To change a breakpoint's properties:
  1. Do one of the following:
    • In the Breakpoints view, right-click on the breakpoint you want to modify.
    • In the editor, right-click on the breakpoint you want to modify.
  2. Select Edit Breakpoint from the pop-up menu. Do not modify any properties on the Required information page of the breakpoint wizard.
  3. Click Next to proceed to the Optional parameters page to edit the Frequency and Expression of this breakpoint.
  4. When you have made all the changes you want, click Finish.
If you try to modify any properties on the Required information page of the breakpoint wizard, or if you try to modify the Thread properties of the Optional parameters page, an error message will be shown and this breakpoint will not be modified.

If you set your line breakpoint by double-clicking on the prefix area of a line in the Debugger editor or by using the Add a Line Breakpoint wizard after a debug session has already started, you can edit the following properties of the line breakpoint:

To change a breakpoint's properties:

Procedure

  1. Do one of the following:
    • In the Breakpoints view, right-click on the breakpoint you want to modify.
    • In the Debugger editor, right-click on the breakpoint you want to modify.
  2. Select Edit Breakpoint from the pop-up menu. The Required information page of the breakpoint wizard corresponding to the breakpoint type appears displaying the current settings for the breakpoint.
  3. You can change the breakpoint's properties in this page or click Next to proceed to the Optional Parameters page to edit it.
  4. When you have made all the changes you want, click Finish.

Feedback