While importing a project, is there any way to find out which file mapping are missing?

Follow the steps listed below:

  1. Import an executable by selecting File > Import from the IDE menu bar.

    The Import dialog box appears displaying the Select page.

  2. Expand the CodeWarrior tree-control and select MCU Executable Importer.
  3. Click Next.

    The Import a MCU executable file page appears.

  4. Specify the desired name for the imported project in the Project name text box.
  5. Click Next.

    The Select MCU executable file to be imported dialog box appears.

  6. In the File to import option, click Browse, navigate to the desired project and select the executable (.ELF/.ABS/.FLT/.AFX) file.
    Note: Check the Copy to project folder checkbox as it allows to set up the debugging paths easier (more later on).
  7. Click Next.

    The Device and Board page appears.

  8. Select the desired CPU architecture.
  9. Click Next.

    The Connections page appears.

  10. Select the appropriate connection(s) for your project.
  11. Click Finish.

The selected project is imported into your workspace.

To set up the search paths (where to search the source files), follow the steps listed below:

  1. For this open the launch configuration of your project. To open the launch configuration:
    1. Select Run > Debug Configurations from the IDE menu bar.
    2. Expand the CodeWarrior Download tree-control and select the desired launch configuration
  2. Click the Source tab.
  3. Click Add.

    The Add Source dialog box appears.

  4. Select Path Mapping and click OK.
  5. Select the newly created mapping and click Edit, which displays the dialog where you can create the mapping.

    The Path Mappings dialog box appears.

  6. Click Add.

    The Path Mapping dialog box appears.

  7. Enter the path which was used to compile the binary, and the path where the files can be found on your local machine.
  8. Continue to add mappings as needed.

Now to find out which path mappings are missing, right-click on the binary file in the CodeWarrior Projects view, and select the Properties from the context-menu. This displays the Paths and Symbols page. Here you can see which path mappings are still missing, and you can fix them accordingly.