Debugger problem on WIndows 2.2 PD Edition

new topic     » topic index » view thread      » older message » newer message

Hi There,

I seem to get strange errors when I press "!" in the debugger.
If I remove the trace(1) everything works as you would expect,
if I step (by pressing enter) through the program it works,

but if I press "!" I get errors like variables haven't been defined when
they have.

As an example see the following code:

--------------------
with trace

trace(1)

sequence test
test = {}

for i = 1 to 10 do
   test = append(test, i)
   ? test
end for

--------------------

If I step through it, it works,
If I remove the trace(1) it works,
If I press "!" as soon as the debuuger screen is displayed I get the
following in the trace file:

----------------

test_dbg.exw:6
program aborted

Global & Local Variables

 test_dbg.exw:
    test = <no value>


Traced lines leading up to the failure:

test_dbg.exw:3 trace(1)
test_dbg.exw:6 test = {}


---------------------

Can anyone explain why??
Or is it a bug?

Thanks

Ray Smith

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu