Basically I create dump file:
- Under debug : VC10 Debug->Save dump as...
- Under release: Procexp->right click -> Save dump -> Create Full Dump...
Via 1, I can open the dump file with VC10 (symbol path, Debug source file all setup properly), I can see all the stack information with source code as well as the value of all variable .
Via 2, I can open the dump file with VC10 (symbol path, Debug source file all setup properly), I can see all the stack information with source code BUT values of all variable are not there. Even if I put the local variable into Debug Watch window,it says Error: Symbol "xxx" not found. How should I fix this for 2?
How did my setup the dump debugging?
For symbol path:
Action->Set symbol paths -> add pdb path for Debug & Release folder for my project as well as using Microsoft Symbol Servers.
For Debug Source path:
Dump project solution -> Property-> Debug Source Files -> Add my project file folder
BTW: For the same dump file, I have also used WinDbg and I can see all the stack information as well(after setting symbol and source path correctly).
Thanks