Tracing Euphoria 1.5 for/next loops

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

Hi Euphorians!.

I'm trying to debug a program that contains for/next loops.
I put a "with" trace statement at the beginning of the program, a
"trace(1)" just before the "for", and a "trace(0)" after the "next"

When I try to follow the program sequence by hitting the down-arrow, I'm
able of running once over the loop, but after reaching the "next", the
program continues without any more tracing.

has anyone else experienced this?.

I run Euphoria 1.5, under Win95 on a 486/100 PC.

An example of this using "delay.e" from Jacques Deschemes:

-- code begins here
--------------------------------------------------------
with trace
-- Test program to try debugging for/next loops
include delay.e
atom iTime
integer Seconds
iTime = time()
trace(1)
for i = 1 to 120 do
    Seconds = i
        delay(1)
    ? Seconds
end for
trace(0)
? time() - iTime
-- Code ends here ------------------------------------------------------

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

Search



Quick Links

User menu

Not signed in.

Misc Menu