Managing map switch sets [EDI 5.1]

In ECMAP Debugger 5.1 and later, you can create multiple sets of map command line switches for each map debug session you create. You can also edit the map command line switches you copy. This allows you to run map debug sessions with different combinations of command line switches and breakpoints.

You must assign a unique map switch name to identify each set of map command line switches.

StepsCreating map switch sets in ECMAP Debugger

You can create a set of the map switches for any map you want to debug by copying the map command line switches to a map debug session in ECMAP Debugger. You can create multiple sets of switches, each with a unique name, containing the map command line switches and arguments.

  1. Select a map debug session where you want to add map command line switches.

  2. Select File | New | Map Switch Set.

  3. Provide a unique name for the new map switch set.

  4. From the batch file you created in ECMAP to save map command line switches, copy everything in the command line, including all the arguments to the right of the executables. Do not copy the UNIX mapinrun or rmapout executables, or the Windows wrmi32 or wrmo32 executables.

  5. Paste the command line arguments you have copied to the Map Switches field. You can edit the arguments to investigate their actions as part of the debugging process.

    NoteVerify that the map arguments you copy or edit match the map direction you specify—inbound or outbound—when you create the map debug session in ECMAP Debugger. ECMAP Debugger terminates if the map direction you specify and the command line arguments you copy or edit do not match. Check the trace file for errors. See “Viewing the trace file” for more information.

  6. Provide a description for the map switch set.

  7. Click OK to save your settings. In the Console tab at the lower right of the ECMAP Debugger window, informational messages display, acknowledging ECMAP Debugger received the map arguments.

NoteThe Set Switches option is disabled once the map switches are set for a debug session. Only one debug session can run at a time. When a debug session completes or is manually stopped, the Set Switches option is enabled.

StepsEditing map switch sets

  1. Select a map switch set you want to edit.

  2. Select Edit | Properties to display the Edit Map Switch Set window.

  3. Select OK to save your changes.

StepsDeleting map switch sets

  1. Select the map switch set you want to delete.

  2. Select Edit | Delete to display the Delete Map Switch Set and click OK to delete the map switch set.