As commented by ortang, you need to activate the debug info when building your project.
See "/DEBUG
(Generate Debug Info) (Visual Studio 2013)":
The
/DEBUG
option creates debugging information for the .exe file or DLL.The linker puts the debugging information into a program database (
PDB
). It updates thePDB
during subsequent builds of the program.It is not possible to create an
.exe
or.dll
that contains debug information.
Debug information is always placed in a.pdb
file.
To set this linker option in the Visual Studio development environment
- Open the project's
Property Pages
dialog box. For details, see Setting Visual C++ Project Properties.- Click the
Linker
folder.- Click the
Debugging property
page.- Modify the
Generate Debug Info
property.