Breakpoint preferences

When a breakpoint is hit, CodeWarrior shifts the focus to the workbench and the Debug view. This can be annoying while working with long automated scripts. CodeWarrior can be configured to remain in background, when a breakpoint is hit, by changing the breakpoint preferences.

To change the breakpoint preferences for a debug session:

  1. Choose Window > Preferences.

    The Preferences dialog appears.

  2. Select Run/Debug.

    The Run/Debug preference pane appears.

    Figure 1. Breakpoint preferences

    Breakpoint Preferences

  3. Deselect the Activate the workbench when a breakpoint is hit checkbox and the Activate the debug view when a breakpoint is hit checkbox.
  4. Click Apply.
  5. Click OK.
Note: The breakpoint preferences are set to default after completion of the debug session.

Alternatively, to ensure that CodeWarrior remains in the background, every time a breakpoint is hit, add the following lines of code at the end of the <CWInstall>\eclipse\cwide.properties file, where <CWInstall> is the CodeWarrior installation path:

org.eclipse.debug.ui/org.eclipse.debug.ui.activate_debug_view=false
org.eclipse.debug.ui/org.eclipse.debug.ui.activate_workbench=false