Files
mercury/tests/debugger/loopcheck.exp3
Ian MacLarty eafc1a1031 Fix some tests that fail in the decldebug grades.
Estimated hours taken: 1
Branches: main

Fix some tests that fail in the decldebug grades.

tests/debugger/Mmakefile:
    Don't run the tailrec1 test in decldebug grades, as the tail
    recursion optimisation isn't supported in those grades.

tests/debugger/loopcheck.exp3:
    Update an event number.  Presumably this changed because of
    changes to the standard library.

tests/debugger/declarative/condition_bug.exp:
tests/debugger/declarative/condition_bug.inp:
    Break on stream.put/4 instead of io.write_string/4.

    Don't expect context for put method calls.

tests/debugger/declarative/condition_bug.m:
    Remove a comment that doesn't seem to apply anymore.

tests/debugger/declarative/solns.exp3:
tests/debugger/declarative/solns.inp3:
    Fix the input and expected output for this test in the
    decldebug grade.
2010-01-05 03:52:11 +00:00

27 lines
1.1 KiB
Plaintext

1: 1 1 CALL pred loopcheck.main/2-0 (det) loopcheck.m:13
mdb> echo on
Command echo enabled.
mdb> register --quiet
mdb> context nextline
Contexts will be printed on the next line.
mdb> break loopcheck.main
0: + stop interface pred loopcheck.main/2-0 (det)
mdb> break loopcheck.loop
1: + stop interface pred loopcheck.loop/1-0 (det)
mdb> finish
2: 2 2 CALL pred loopcheck.loop/1-0 (det)
loopcheck.m:20 (from loopcheck.m:14)
3: 3 3 CALL pred loopcheck.loop/1-0 (det)
loopcheck.m:20 (from loopcheck.m:21)
12: 3 3 EXCP pred loopcheck.loop/1-0 (det)
loopcheck.m:21 (from loopcheck.m:21)
13: 2 2 EXCP pred loopcheck.loop/1-0 (det)
loopcheck.m:21 (from loopcheck.m:14)
14: 1 1 EXCP pred loopcheck.main/2-0 (det)
loopcheck.m:14
mdb> continue
Uncaught Mercury exception:
Software Error: detected infinite recursion in pred loopcheck.loop/1
Last trace event was event #91.
Last trace event before the unhandled exception was event #8.