[fpc-devel] parentfp changed to $parentfp

Martin fpc at mfriebe.de
Thu Dec 9 01:02:29 CET 2010


On 08/12/2010 23:58, Pierre Free Pascal wrote:
>    I added this pseudo-name a looong time ago
> (lowercased as opposed to all uppercased
> regular variables, at least at the start of
> Free Pascal debugging capabilities...)
>
>    Its main purpose is to allow
> the Text mode IDE (but I assume that this is also
> true for Lazarus) to find the variables
> of an outer function/procedure
> when the debugger is in an internal (function local) frame.

That's how I found it. I am at the very very very start of writing a few 
tests for the IDE debugger code => and with dwarf3 it did fail on nested 
functions.

It does however work, if I adapt the IDE to try $parentfp




More information about the fpc-devel mailing list