mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
tests/declarative_debugger/throw.exp2:
Update this expected output, context line numbers have been off
since some additional comments were added to the head of the test.
tests/declarative_debugger/throw.m:
Document what the .exp2 file is for.
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
E1: C1 CALL pred throw.main/2-0 (cc_multi) throw.m:21
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> register --quiet
|
|
mdb> break p
|
|
0: + stop interface pred throw.p/1-0 (cc_nondet)
|
|
mdb> break q
|
|
1: + stop interface pred throw.q/1-0 (semidet)
|
|
mdb> continue
|
|
E2: C2 CALL pred throw.p/1-0 (cc_nondet) throw.m:29 (exception.m:NNNN)
|
|
mdb> finish
|
|
E3: C2 EXCP pred throw.p/1-0 (cc_nondet) q!;c2; throw.m:31 (exception.m:NNNN)
|
|
mdb> dd -d 3 -n 7
|
|
Call p(_)
|
|
Throws "Too big"
|
|
Expected? no
|
|
a(3)
|
|
Valid? yes
|
|
Call b(3, _)
|
|
Throws "Too big"
|
|
Expected? yes
|
|
Found unhandled or incorrect exception:
|
|
p(_)
|
|
"Too big"
|
|
Is this a bug? yes
|
|
E3: C2 EXCP pred throw.p/1-0 (cc_nondet) q!;c2; throw.m:31 (exception.m:NNNN)
|
|
mdb> continue
|
|
exception(univ_cons("Too big"))
|
|
E4: C3 CALL pred throw.q/1-0 (semidet) throw.m:55 (exception.m:NNNN)
|
|
mdb> finish
|
|
E5: C3 EXCP pred throw.q/1-0 (semidet) c2;~;q!;c2;~;q!;c2; throw.m:59 (exception.m:NNNN)
|
|
mdb> dd -d 3 -n 7
|
|
Call q(_)
|
|
Throws "Too big"
|
|
Expected? no
|
|
a2(3)
|
|
Valid? yes
|
|
Call b2(3, _)
|
|
Throws "Too big"
|
|
Expected? yes
|
|
Found unhandled or incorrect exception:
|
|
q(_)
|
|
"Too big"
|
|
Is this a bug? yes
|
|
E5: C3 EXCP pred throw.q/1-0 (semidet) c2;~;q!;c2;~;q!;c2; throw.m:59 (exception.m:NNNN)
|
|
mdb> continue
|
|
exception(univ_cons("Too big"))
|