In "Delphi in a Nutshell" findet man das hier
Zitat:
Delphi’s debugger uses DebugHook to determine what to do with exceptions. When an application runs normally, DebugHook is 0. When you debug an application in Delphi’s
IDE, the
IDE sets DebugHook to 1. When the
IDE catches an
exception or when you are single-stepping in the debugger, the
IDE sets DebugHook to 2.