This program reports line 0 and 4 if ".so" is applied
pro doit
stop
print,'5'
while 1 do begin & endwhile
end
GDL> .so
5
% Stepped to: DOIT 4 /home/chris/doit.pro
GDL> .so
% Stepped to: DOIT 0 /home/chris/doit.pro
GDL> .so
% Stepped to: DOIT 4 /home/chris/doit.pro
GDL> .so
% Stepped to: DOIT 0 /home/chris/doit.pro
If the while loop contains any command then the reported line is ok:
pro doit
stop
print,'5'
while 1 do begin & wait,0.1 & endwhile
end
GDL> .so
5
% Stepped to: DOIT 4 /home/chris/doit.pro
GDL> .so
% Stepped to: DOIT 4 /home/chris/doit.pro
GDL> .so
% Stepped to: DOIT 4 /home/chris/doit.pro
This program reports line 0 and 4 if ".so" is applied
If the while loop contains any command then the reported line is ok: