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:
- Right-click the project and select Properties from the menu.
- From the Configuration drop-down, select Active(Release).
- From the Platform drop-down, select Active(Win32) or Active(x64).
- In the project pane on the left, expand Configuration Properties.
- Expand C/C++ and select General.
- In the work pane, select Debug Information Format.
- From the drop-down, select Program Database
(/Zi) or Program Database for
Edit & Continue (/ZI).Figure 1. AMDTClassicMatMul Property Page
- In the project pane, expand Linker and then select Debugging.
- From the Generate Debug Info drop-down, select /DEBUG.