How can I configure and launch an external tool or debugger?

To configure an external tool, follow the steps below:

  1. Select Run > External Tools > External Tools Configurations.

    The External Tools Configurations wizard appears.

  2. Click the New Launch Configuration button in the left pane.
  3. Specify the location for the external tool you want to configure.
  4. Specify the working directory and arguments.

    The following figure shows the configuration settings for the 8/16 bit external debugger that is present in classic CodeWarrior for Microcontrollers.

    Figure 1. External Tools Configurations Wizard

    External Tools Configurations Wizard

    -instance option ensures that an already existing/running debugger with the same instance can be used for debugging another project or file.

    Also, you can specify multiple variable using the Variables button. For example you can use a variable to debug a selected file, or have IDE to prompt for a file.

  5. In the additional tabs, such as Refresh and Build , you can configure if resources need to be refreshed, or if a build should be performed first.

After configuring the external tool, you can launch the tool from the CodeWarrior IDE toolbar.

Figure 2. Launch External Tool

Launch External Tool