I am developing a .NET 4.0 application in VS 2010.
I am trying to use dump files for the first time, but when loading minidump in VS, I cannot debug it, since VS cannot find the source files.
Here is what I did:
- In
Options -> Debugging -> Symbols I added an app build dir file that contains pdbs. - Run the application in the VS debugger. Selected
Debug -> Break All . - Selected
Debug -> Save dump as - I went to the dump file in Windows Explorer and opened it. This opened up a new instance of VS.
- I clicked "Debug with mixed." This opened a new tab that said
"There is no source code available for the current location .
I tried to understand why VS did not load my pdbs:
- Open
Debug -> Windows -> Modules - The
Symbol Status column for MyApp.exe said "Symbols loaded." - For MyApp.vshost.exe, he said: "Cannot find or find the PDB file."
- Right-click on MyApp.exe, select "Symbol Download Information". He said: "MyApp.pdb: characters loaded."
- The same goes for MyApp.vshost.exe. He said vshost32.pdb: cannot find or open the PDB file. (note that for some reason it is looking for a file named vshost32.pdb, not MyApp.vshost.pdb)
So any ideas?
source share