1

On xp, every time a process would crash the OS would pop up a dialog asking if I would like to debug the process. I cant find a way to enable this functionality on the later version of windows. So to reiterate, I want to attach a debugger to a native process that's auto broken on a crash.

Does anyone know how to get this done?

Dmitry
  • 1,513
  • 1
  • 15
  • 33

2 Answers2

2

Enable Just-In-Time debugging.

Edit: since that doesn't work for you, some additional suggestions -

  • Make sure the AeDebug registry key values are correct.
  • Setup WER to create full crash dumps, and debug the dumps.
  • Not sure about this, but is it possible your user doesn't have debug permissions? Have never checked that, but I assume this would prevent that user from being offered a chance to debug the process (and even if you do, UAC might circumvent them - but I don't know this for a fact).
Eran
  • 21,632
  • 6
  • 56
  • 89
  • Been enabled all along no dice – Dmitry Jul 11 '11 at 19:56
  • I think i narrowed down my problem, jit will not trigger on process starting under the service manager so if you need to debug something you will need to find a way to start it from cmd. – Dmitry Jul 11 '11 at 21:05
0

I think what you're looking for is the Dr. Watson tool. This KB article explains how to disable or enable it.

Marius Bancila
  • 16,053
  • 9
  • 49
  • 91
  • 1
    The good old dr. is not part of Windows anymore. You won't find it on 2008, but [there are alternatives](http://stackoverflow.com/questions/1505831/dr-watson-alternatives-for-windows-2008). – Eran Jul 11 '11 at 19:42