Debug Information for Windows* Application Binaries

Intel® VTune™ Amplifier requires debug information for the binary files it analyzes to obtain accurate performance data and enable source analysis.

Generate Debug Information in the PDB Format

On Windows* operating systems, debug information is provided in PDB files. Make sure both your system and application libraries/executable have PDB files.

By default, the Microsoft Visual Studio* IDE does not generate PDB information in the Release mode. For better results with the VTune Amplifier, enable symbol generation manually.

To generate debug information for your binary files:

  1. Right-click your C++ project and select the Properties item in the context menu.

    The <your_project>Property Pages dialog box opens.

  2. From the Configuration drop-down list, choose the Release configuration.

    It may be already selected if your current configuration in the Visual Studio environment is Release.

  3. From the left pane, select Configuration Properties > C/C++> General.

  4. In the Debug Information Format field, choose Program Database (/Zi).

  5. From the left pane, select Configuration Properties > Linker > Debugging.

  6. In the Generate Debug Info field, choose Yes (/DEBUG).

  7. Click OK to close the dialog box.

  8. Compile your target application with optimizations.


If you configured Visual Studio to generate debug information for your files, you cannot "fix" previous results because the executable and the debug information do not match the executable you used to collect the old results.

To generate a native .PDB file for a native image of .NET* managed assembly:

Use the Native Image Generator tool (Ngen.exe) from the .NET Framework. Make sure the search directories, specified in the Binary/Symbol Search dialog box, include path to the generated .pdb file.

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)