Global/Program Variables do not show up in Delphi XE 7 Debugger

4 views
Skip to first unread message

Skybuck Flying

unread,
Sep 19, 2015, 11:56:41 AM9/19/15
to
Hello,

Debugging a simple program like this is not possible in Delphi XE7 debugger:

Variable A never shows up in "local variables".

Only if variable A is put inside local variable section of main procedure
would it show up.

I think it's desireable if "program variables" show up in debugger too ?!

What kind of variable is this anyway ? A truely global variable ? Or a unit
variable ? or a special "program variable" ?

Seems like a truely global variable to me... hence the topic name ! ;)

program Test;
var
A : integer;

procedure Main;
begin
writeln('Main');
end;

begin
A := 10;
end;

Bye,
Skybuck.

Reply all
Reply to author
Forward
0 new messages