JCL Help:TExcFrame

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Except frame.


Pascal

 PExcFrame = ^TExcFrame;
public TExcFrame = record
Next: PExcFrame;
Desc: PExcDesc;
FramePointer: Pointer;
case Integer of
1: (ConstructedObject: Pointer;);
2: (SelfOfMethod: Pointer;);
end;


Members

Members Description
Next: PExcFrame; Link to next except frame or -1(!) if there is no next frame.
Desc: PExcDesc; Pointer to handler (non-Delphi and non-C++Builder modules) or frame descriptor (Delphi and C++Builder modules)
FramePointer: Pointer; Value of the handlers stack frame pointer (EBP/RBP)
ConstructedObject: Pointer; Pointer to object being constructed. This is used by the compiler to allow for destruction of the object when an exception occured.
SelfOfMethod: Pointer; Pointer to Self of the method containing the handler.


Description

TExcFrame is an except frame. It holds a reference to the next frame (if any), the location of the frame (which should always start with executable code) and the handlers stack frame. Incase of Delphi or C++Builder modules, it could also contain a reference to the object being constructed (this is the case for the implicit except frame for constructors) or a reference to Self of the method containing the handler.


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