A newer version of this document is available. Customers should click here to go to the newest version.
- Configure Yocto Project*/Wind River* Linux* and Intel® VTune™ Profiler with the Intel System Studio Integration Layer
Debug Information for Windows* Application Binaries
Intel® VTune™ Profiler 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 Profiler, enable symbol generation manually.
To generate debug information for your binary files:
Right-click your C++ project and select the Properties item in the context menu.
The <your_project> Property Pages dialog box opens.
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.
From the left pane, select Configuration Properties > C/C++ > General.
In the Debug Information Format field, choose Program Database (/Zi).
From the left pane, select Configuration Properties > Linker > Debugging.
In the Generate Debug Info field, choose Generate Debug Information (/DEBUG).
Click OK to close the dialog box.
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.
Generate Debug Information for SYCL Applications
To enable performance profiling and generate debug information for SYCL applications running on a GPU, make sure to compile your code with -gline-tables-only and -fdebug-info-for-profiling options.
Did you find the information on this page useful?