Search code examples
windbg

Debuggers don't kick in when application crashes


I am trying to debug an application with Immunity debugger. I also tried WinDbg. I have set them as default JIT debugger through the Registry but it doesn`t work.

I tried in Windows XP SP3 and in Windows 7 but it doesn't work.


Solution

  • You can install Windbg as the default postmortem debugger by running this from the command line:

    windbg -IS
    

    From then on, the next time an application crashes Windbg will appear, attached to the process.

    To undo this, see this answer.

    If this doesn't work, you'll need to add more details to your question.