March 2000
Intermediate to advanced
576 pages
18h 13m
English
ExceptionClass Variable
var ExceptionClass: TClass;
Delphi’s IDE uses the ExceptionClass
variable to determine which exceptions the debugger handles. The
IDE’s integrated debugger stops only for exceptions that
inherit from the base class stored in
ExceptionClass. The SysUtils
unit sets this variable to
Exception.
Delphi’s IDE lets you control whether the debugger gains
control when the program raises an exception. You can also control
this behavior from within your program by setting
ExceptionClass. In particular, setting the
variable to nil prevents the debugger from
stopping for any exception.
| Raise Keyword, Try Keyword |
Read now
Unlock full access