I create a new oxygene project, console application. I add a new class:
interface
type
TestClass = public class(System.Object)
private
protected
public
procedure Test(value: Int32);
end;
implementation
procedure TestClass.Test(value: Int32);
procedure InternalTest();
begin
writeLn(value + "b");
end;
begin
writeLn(value + "a");
InternalTest();
end;
create and start it. I set a breakpoint to both WriteLines. For “a” I see the content of value. For “b” I can’t see “value”. We use this feature in old version (8?) very often.
As workaround we look into the self-variable in the locals. But to watch a variable directly is easier.
Mario