[Lazarus] more locals: variable values in sub-functions
Martin
lazarus at mfriebe.de
Tue Oct 27 21:14:11 CET 2009
David Emerson wrote:
> procedure foo;
> var a : longint;
> procedure bar;
> var b : longint;
> begin
> writeln (a);
> end;
>
> Given the above, is there a way to make the "Locals" window display the
> value of "a" while stepping through the code in proc "bar"?
>
I believe the latest 0.9.29 snapshots can do that.
But all versions of lazarus can do it, using the stack window.
In the stack window you can set the current frame to any stack-frame you
want.
The local-var window, the hint, and the watches window, will all follow this
Martin
More information about the Lazarus
mailing list