c# - Debugging .dmp files from WinDbg in Visual Studio 2008 for .Net managed apps -
i trying find how take crash dump of .net managed executable , open resulting .dmp file in visual studio 2008. want see in source code exception thrown, call stack , value of variables in functions on stack. to simplify problem, i've written mini-app crashes: ... class program { static void main(string[] args) { int = 2; //variable want see value when debugging if (!file.exists(@"c:\crasher\bin\debug\file.txt")) //doesn't exist throw new filenotfoundexception(); //unhandled exception thrown } } ... i did debug build , ran outside visual studio. in windbg, clicked "attach process" , selected app. typed in windbg command window: .dump /ma c:\crasher\bin\debug\dump.dmp then opened .dmp file in visual studio. went tools->options->debugging->symbols , added following: http://msdl.microsoft.com/download/symbols (saved local folder) this gives me symbols of d...