1. Debugger problem on WIndows 2.2 PD Edition
- Posted by Ray Smith <smithr at IX.NET.AU> Sep 15, 2000
- 412 views
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
2. Re: Debugger problem on WIndows 2.2 PD Edition
- Posted by Derek Parnell <derekp at solace.com.au> Sep 15, 2000
- 433 views
>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. > >Can anyone explain why?? >Or is it a bug? > >Thanks > >Ray Smith Hi Ray, this is the expected behaviour for trace. The "!" key means "Abort the program now!". It leaves various debug details in the EX.ERR file. ----- cheers, Derek Parnell