Generating Debug Information on Windows - Generating Debug Information on Windows - 57368

uProf User Guide

Document ID
57368
Release Date
2025-06-09
Revision
5.1 English
When using Microsoft Visual C++ to compile the application in release mode, set the following options before compiling the application to ensure that the debug information is generated and saved in a program database file (with a .pdb extension). To set the compiler option to generate the debug information for a x64 application in release mode, complete the following steps:
  1. Right-click the project and select Properties from the menu.
  2. From the Configuration drop-down, select Active(Release).
  3. From the Platform drop-down, select Active(Win32) or Active(x64).
  4. In the project pane on the left, expand Configuration Properties.
  5. Expand C/C++ and select General.
  6. In the work pane, select Debug Information Format.
  7. From the drop-down, select Program Database (/Zi) or Program Database for Edit & Continue (/ZI).
    Figure 1. AMDTClassicMatMul Property Page
  8. In the project pane, expand Linker and then select Debugging.
  9. From the Generate Debug Info drop-down, select /DEBUG.