System.DebugHook

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

DebugHook: Byte platform = 0;        { 1 to notify debugger of non-Delphi exceptions

C++

extern DELPHI_PACKAGE Byte DebugHook;

Properties

Type Visibility Source Unit Parent
variable public
System.pas
System.hpp
System System

Description

DebugHook is set if an application is running under the IDE debugger. In this scenario, DebugHook determines what to do with exceptions.

DebugHook is 0 when an application operates outside the IDE debugger. DebugHook is 1 when an application operates inside the IDE debugger.

DebugHook is set to 2 when the IDE catches an exception or when you are single-stepping in the debugger.

See Also