ankhsvn
Wiki: CreateDump

Edit this page | Links to this page | Page information | Attachments | Refresh page

 

Creating a dump or stack trace

In order to help the AnkhSVN team to pinpoint a problem/crash you're experiencing, we sometimes ask you to make a dump and/or send a stack trace of a certain exception. This page explains how to do that.

  1. Preferably download the symbols for releases or daily builds and unzip them in the AnkhSVN installation directory.

  2. Start two Visual Studio instances, one will be the debugger, the other will be the debuggee.
  3. Navigate as close as possible to the error you want to debug with the debuggee.
  4. Before you perform the last action that causes the crash, hook up the debugger using Tools -> Attach to process. From this list select the "devenv.exe" that's your debuggee.

  5. Use Debug -> Exceptions in the debugger to break on all CLR exceptions.

  6. In the debuggee, trigger the exception. You should now be able to see the stack trace in the "Debug -> Windows -> Callstack" window. You can also use "Debug -> Save dump as" to save a dump. Be sure to pick "Minidump with heap" when you do

CreateDump (last edited 2010-04-27 15:30:22 -0700 by ?sander)