The Debug toolbars

Explains the options available on the toolbars in the three debugging views in the CPLEX® Studio IDE — Debug view, Variables view, and Breakpoints view.

The three debugging views — Debug view, Variables view, and Breakpoints view — become active when the IDE starts executing a project. They remain active as long as execution is in progress, including when a run is suspended. You can use the buttons in the toolbars of each view to control execution.

Figure 1. Debug view toolbar
Debug view toolbar

Point to these buttons to see a tooltip for them. From left to right:

  • Remove All Terminated Launches – clears the window of runs that have completed or have been terminated (only active if the previous runs are visible in the view).

  • Pause/Resume – a toggle button that pauses/continues the current run (only active if a run is in progress).

  • Suspend – suspends the current run (only active if a run is in progress).

  • Terminate – terminate the current run (only active if a run is in progress, and remains active if the run has been stopped using the Abort button on the execution toolbar).

  • Disconnect – terminates the connection between the debugger and the remote debug target (only active if a run is in progress).

  • Step Into – when debugging, resumes the run and steps into the next method call at the currently executing line of code (only active during debugging, with breakpoints set).

  • Step Over – when debugging, resumes the run and steps over the next method call at the currently executing line of code without executing it (only active during debugging, with breakpoints set).

  • Step Return – when debugging, resumes the run returns from a method that has been stepped into (only active during debugging, with breakpoints set).

  • Drop to frame – when debugging, re-enters the selected stack frame in the Debug view (not active in CPLEX Studio).

  • Use Step Filters – when debugging, activates/deactivates preselected step filters that have been set up for use in the Debug view (not active in CPLEX Studio).

  • View Menu – opens a View Management dialog box for setting preferences in Debug view.

    Debug view preferences menu
Note:

You set breakpoints for debugging by double-clicking in the margin of the editor. Click a breakpoint to temporarily disable it; double-click to remove it.

Figure 2. Variables view toolbar
Variables view toolbar

Point to these buttons to see a tooltip for them. From left to right:

  • Show Type Names – displays/hides type names for the elements in Variables view (not active when columns are displayed).

  • Show Logical Structure – displays/hides type logical structures in Variables view.

  • Collapse All – collapses all expanded elements in the view (only active if the elements have been expanded).

  • Menu – opens a Layout menu for setting display preferences in Variables view.

    Variables view menu item
Figure 3. Breakpoints view toolbar
Breakpoints view toolbar

Point to these buttons to see a tooltip for them. From left to right:

  • Remove Selected Breakpoints – delete the currently-selected breakpoints from the view.

  • Remove All Breakpoints – delete all current breakpoints from the view.

  • Show Breakpoints Supported By Selected Target – displays/hides breakpoints supported/not supported by the currently-selected debug target.

  • Go To File For Breakpoint – open the associated resource for the breakpoint, make it active, and highlight the location of the breakpoint. (not active in CPLEX Studio).

  • Skip All Breakpoints – mark all breakpoints in the current view as skipped.

  • Expand All – expands all collapsed elements in the view (only active if the elements have been collapsed).

  • Collapse All – collapses all expanded elements in the view (only active if the elements have been expanded).

  • Link With Debug View – updates Breakpoints view with information from Debug view.

  • Menu – opens a menu for setting preferences in Breakpoints view.

Note:

Three other debugging views are listed in Window>Show View> Other> DebugExpressions, Memory, and Registers. These views are available for IBM® ODME and are not active in CPLEX Studio.