mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
tests/declarative_debugger/*.m:
tests/exceptions/*.m:
tests/general/*.m:
tests/grade_subdirs/*.m:
tests/purity/*.m:
tests/submodules/*.m:
tests/typeclasses/*.m:
Update programming style.
tests/declarative_debugger/*.inp:
Update line numbers in breakpoint commands.
tests/declarative_debugger/*.exp:
Update expected line numbers.
tests/exceptions/Mercury.options:
tests/general/Mercury.options:
Disable some warnings that are irrelevant to the test.
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
E1: C1 CALL pred partial.main/2-0 (det) partial.m:15
|
|
mdb> mdb> Contexts will not be printed.
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> step
|
|
E2: C2 CALL pred partial.p/1-0 (det)
|
|
mdb> finish
|
|
E3: C2 EXIT pred partial.p/1-0 (det)
|
|
mdb> dd
|
|
p(t(1, 2))
|
|
Valid? browse 1
|
|
browser> cd 1
|
|
browser> mark
|
|
a(1)
|
|
Valid? info
|
|
Context of current question : partial.m:35 (partial.m:28)
|
|
Search mode : top down
|
|
The current question was chosen because the marked subterm was bound by
|
|
the unification inside the predicate partial.a/1 (partial.m:35). The
|
|
path to the subterm in the atom is 1.
|
|
dd> undo
|
|
p(t(1, 2))
|
|
Valid? browse 1
|
|
browser> cd 2
|
|
browser> mark
|
|
b(2)
|
|
Valid? info
|
|
Context of current question : partial.m:39 (partial.m:29)
|
|
Search mode : top down
|
|
The current question was chosen because the marked subterm was bound by
|
|
the unification inside the predicate partial.b/1 (partial.m:39). The
|
|
path to the subterm in the atom is 1.
|
|
dd> quit
|
|
Diagnosis aborted.
|
|
E3: C2 EXIT pred partial.p/1-0 (det)
|
|
mdb> quit -y
|