Partager via


Setting the Source Path Mapping (Windows Embedded CE 6.0)

1/5/2010

Platform Builder automatically creates a mapping between PDB files generated by the compiler and associated source code files that are stored locally. You can manually create, remove, or change this mapping as needed.

To create a source path mapping

  1. From the Platform Builder Debug menu, choose Source Path Mapping.

    - or -

    From the Disassembly Window, right click in the window.

    The Source Path Mapping Dialog Box appears.

  2. In the Source Path Mapping dialog box, type the path to the PDB file generated by the compiler in the Path from PDB file box. To browse for the file, click the ellipsis (...) button, and navigate to the file you want.

  3. In the Local path box, type the path to the source code file you want associated with the PDB file. To browse for the file, click the ellipsis (...) button, and navigate to the file you want.

  4. Choose OK to accept the mapping you created.

Working with Previous Mappings

If previous mappings between files with the same names exist, the Source Path Mapping dialog box displays the mappings in order from oldest to newest.

To enable a specific mapping

  • Select or clear the checkbox next to the chosen mapping.

See Also

Reference

Source Path Mapping Dialog Box

Other Resources

Debugging Setup