How to obtain crash dump in Visual Studio 2005


So VS is crashing on you and you want to submit a bug. You can help us with investigation if you also collect a crash dump. Generally Windows automatically sends a crash dump to us when you click ‘Submit error information to Microsoft’. However, if you still want to file the issue yourself on MSDN Feedback site, do the following:

1. Start Visual Studio.
2. Start another instance of VS.
3. In the second instance click Tools | Attach to Process…
4. In the list of processes locate devenv.exe.
5. Click Select… and explicitly choose ‘Native’ and ‘Managed’ code.
6. Click OK and OK to close Select dialog and Attach to Process dialog.
7. Go back to the first instance of VS and repro the crash.
8. Upon the crash control should go to the second instance of VS.
9. In the second instance click Debug | Save Dump As… and save the crash information.
10. File issue at MSDN Feedback site and attach crash dump file to the report.


Comments (10)

  1. albertpascual says:

    Great, we are still debugging the debugger 😉

  2. A while ago I blogged on how to obtain a crash dump using Visual Studio. You can use similar technique

  3. 1. Generate dump file for hanged application: Option1 : If you are using vista, you can simple open task

  4. 1. Generate dump file for hanged application: Option1 : If you are using vista, you can simple open task

  5. If you are having issues with Visual Studio or the .NET Framework, but you don’t want to create a case

  6. If you are having issues with Visual Studio or the .NET Framework, but you don't want to create a