Error : Cannot find or open the PDB file error in in VS C ++ 2010


This question already has an answer here:


For all the files in Windows/System, not much. You are unlikely to have or need debugger symbols for them. Just don't try to step into them.

For the others, you need to build from source code in debug mode in order to get the PDB symbol files. if you don't have them, you can't debug them. This is probably a problem with your project file.

The final error is probably unrelated. The errors don't stop anything running, they just stop you debugging.

'Native has exited with code -1' means that the program (i.e. main) returned -1.

In other words, look for return -1; in your main.

The "pdb" errors are normal when you don't have access to debugger symbols for a DLL.

Need Your Help

google-maps-api-3 setCenter isn't working properly


I am just starting a new experience with google map API.

Problems with nested struct constructor and Union

c++ struct nested unions

I have a struct nested winin a class and a union of that struct. If I have a struct constructor that takes arguments, then the union won't compile.