I'm developing a .NET 4.0 app in VS 2010.
I'm trying to use dump files for the first time, but when loading the minidump into VS, I can't debug it, since VS doesn't find the source files.
Here's what I did:
Options -> Debugging -> Symbols
I added my app's build dir, which contains the pdbs.Debug -> Break All
.Debug -> Save dump as
"There is no source code available for the current location
.I tried to figure out why VS wasn't loading my pdbs:
Debug -> Windows -> Modules
Symbol Status
column for MyApp.exe said "Symbols loaded".So, any ideas?
Solved the problem. VS was looking at the bottom-most method in the call-stack, which was a system method somewhere in ntdll.dll. So naturally there was no source for it. I had to click on my own method in the Call Stack
window to navigate to my own code, for which source was available.