6.7.4 Output Files

View the project output files by opening the files in MPLAB X IDE.

  1. Select File>Open File. In the Open dialog, find the project directory. For example, in Windows 7 OS:


    C:\Users\UserName\MPLABXProjects\XC16_Example.X

  2. Under the project directory, locate the linker map file. For the example above:


    C:\Users\UserName\MPLABXProjects\XC16_Example.X\


    dist\default\debug\XC16_Example.X.debug.map

  3. View the linker map file in an MPLAB X IDE editor window. For more on this file, see the linker documentation.
  4. In the same directory there is another file, XC16_Example.X.debug.elf. This file contains debug information and is used by debug tools to debug your code. For information on selecting the type of debug file, see XC16 (Global Options).