coolchyni / beyond-debug

Other
20 stars 5 forks source link

Global variables? #10

Closed duzenko closed 1 year ago

duzenko commented 1 year ago

Is there a problem with displaying global variables?

E.g.

var
    i: integer;
begin
    for i:= 1 to 10 do
        WriteLn(i);
end.

With breakpoint on WriteLn(i); there is no way to see the global variable i or any other global variable for that matter

image

xuming commented 1 year ago

Global variables is not support ,you must add it to watch by your self.

duzenko commented 1 year ago

Is there a particular reason for this?

xuming commented 1 year ago

There are too many global variables in the Pascal program.