[fpc-devel] ExceptAddr, but no ExceptFrameCount and ExceptFrames

Vincent Snijders vsnijders at quicknet.nl
Tue Jun 21 13:24:16 CEST 2005


Vincent Snijders wrote:
> Michael Van Canneyt wrote:
> 
>>
>>
>> On Tue, 21 Jun 2005, Vincent Snijders wrote:
>>
>>> Hi,
>>>
>>> Sysutil has a function ExceptAddr to current exception address, but 
>>> no corresponding functions to get the frame count and the frames of 
>>> the current exception.
>>>
>>> Are these function just not yet implemented or are the ommitted on 
>>> purpose?
>>
>>
>>
>> Just not yet implemented. Delphi didn't have them either.
>>
> 

Attached are two patches:
1. except.patch implements ExceptFrameCount and ExceptFrames
2. arg.patch fixes a bug in the copying of the commandfilename to the 
arg array. The #0 character was not copied, so the pchar was not 
properly terminated.

If these patches are applied in the trunk, wil they be merged into the 
fixes branch too?

Vincent.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: except.patch
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20050621/3998e848/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: arg.patch
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20050621/3998e848/attachment-0001.ksh>


More information about the fpc-devel mailing list