JCL Help:TExcDesc

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Except frame descriptor.


Pascal

 PExcDesc = ^TExcDesc;
public TExcDesc = packed record
JMP: TJmpInstruction;
case Integer of
0: (Instructions: array [0..0] of Byte);
Cnt: Integer;
ExcTab: array [0..0] of TExcDescEntry););
end;


Members

Members Description
JMP: TJmpInstruction; Holds the JMP-instruction incase of Delphi/C++Builder code
Instructions: array [0..0] of Byte); Handler instructions for non "except on..."-blocks
Cnt: Integer; Number of exception classes defined in an "except on..."-block
ExcTab: array [0..0] of TExcDescEntry); Table of on-definitions and there handlers in an "except on..."-block


Description

TExcDesc is an except frame descriptor.
For Delphi/C++Builder-generated modules this usually means a JMP instruction to either HandleFinally, HandleAnyException, HandleOnException or HandleAutoException. Incase of an HandleOnException, the JMP is followed by a table containing the Exception classes to handle and their handlers. In other cases the JMP is followed by the code to execute.
For other modules, the frame descriptor is undefined (but it always starts with executable code).


About

Unit

JclDebug


Navigation

Donator

Borland/Codegear/Embarcadero


Notes

This type is copied from System.pas.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page