Relaunching a debug session

ECMAP Debugger allows you to have multiple runs of a debug session for the same map with the same switch settings and the same breakpoints. This saves you from having to copy the switch settings and set the breakpoints for each repeat debug session.

Relaunching a debug session allows you to scrutinize different sets of data values in different sessions, or change breakpoints for the same map without having to set match switches and load maps repeatedly.

The Relaunch option is enabled only after a debug session ends. The Relaunch option is disabled when a debug session is running.

All options available to debug sessions are also available to debug sessions started with the Relaunch option.

StepsRelaunching a debug session

  1. In the main ECMAP Debugger window menu, select Map | Relaunch or click the Relaunch button.

  2. In the Relaunch Debug Session dialog box, the Map Command Line Switch Settings field displays the command line switch settings of the current map. This field is read-only and you cannot modify the switches.

  3. Select or clear the Save Breakpoints option. The default is to save the breakpoints of the current map.

  4. Select or clear the Save Variables on Watch option. The default is to save the variables you have selected to monitor in the Watch tab of the Monitor pane.

  5. Click OK to run the debug session again with the map that is currently loaded. The debug session runs according to what you selected in step 3. The variables you monitor in the Watch tab depend on what you select in step 4. Click Cancel if you do want to relaunch the debug session.

  6. Click Cancel if you do not want to relaunch the debug session.

The Save Breakpoints and Save Variables on Watch options are not saved permanently. You can set different breakpoints in the Map pane or select different variables to display on the Watch tab. Only the variables you selected and the breakpoints you set in the last debug session that was run are kept in memory for any debug session you relaunch. When you load another map or when you exit ECMAP Debugger, breakpoints and variables from the most recent debug session are cleared from memory.