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

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to