[fpc-pascal] Issue 0012528: TFPList exception with no excpetion stack printed

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Fri Jan 28 09:52:32 CET 2011



On Fri, 28 Jan 2011, cobines wrote:

> Hello,
>
> Can someone comment on this issue? It still exists in current FPC
> trunk. It seems the patch posted there fixes the issue. Is the patch
> not good?

The patch is good, but I suspect a more general patch is needed.

>
> Why is "raise ... at" needed instead of just "raise" ?

Because if you use 'Raise', then the .error method shows up in the stack
dump, when the real location is actually in the frame above. It's not
actually required, but it is nicer to have the real location as the first
frame in your stack list.

Michael.



More information about the fpc-pascal mailing list