How can I disable Delphi as just-in-time debugger?

debugging, delphi

Solution

You need to delete the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger

On a 64 bit system delete this key also:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger

Problem

Delphi 7 is registered as the just-in-time debugger on my system. How can I disable it so that Delphi will not launch if an application error tries to invoke the JIT debugger? I stopped the Machine Debug Manager Service but this did not do the trick.

Original source