Partager via


Associate Source Code with PDB Files (Compact 2013)

3/26/2014

Platform Builder automatically creates a mapping between the program database (PDB) files generated by the compiler and the associated source code files that are stored locally. PDB files contain debugging information, such as a list of all of the symbols in a module, which the kernel debugger uses. You can manually create, remove, or change this mapping as needed.

To create a mapping between source code and PDB files

  1. In your OS design solution, click the Platform Builder Debug menu, and then click Source Path Mapping.

  2. In the Source Path Mapping dialog box, in the box below Path from PDB file, type the path of the PDB file generated by the compiler. To browse for the path, double-click the dotted box at the end of the list of paths under Path from PDB file, click the ellipses (...) button, and then navigate to the path that you want.

  3. In the Local path box, type the path of the source code file that you want to associate with the PDB file. To browse for the path, click the box at the end of the list of paths under Local path, click the ellipses (...) button, and then navigate to the path that you want.

  4. Click OK to accept the mapping that you created.

    For more information about the Source Path Mapping dialog box, see Source Path Mapping Dialog Box.

See Also

Concepts

Set Debug Options
Kernel Debugger
Debugging

Other Resources

Windows Embedded Compact 2013