mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
tests/accumulator/*.m:
tests/analysis_*/*.m:
tests/benchmarks*/*.m:
tests/debugger*/*.{m,exp,inp}:
tests/declarative_debugger*/*.{m,exp,inp}:
tests/dppd*/*.m:
tests/exceptions*/*.m:
tests/general*/*.m:
tests/grade_subdirs*/*.m:
tests/hard_coded*/*.m:
Make these tests use four-space indentation, and ensure that
each module is imported on its own line. (I intend to use the latter
to figure out which subdirectories' tests can be executed in parallel.)
These changes usually move code to different lines. For the debugger tests,
specify the new line numbers in .inp files and expect them in .exp files.
94 lines
3.7 KiB
Plaintext
94 lines
3.7 KiB
Plaintext
E1: C1 CALL pred change_search.main/2-0 (det) change_search.m:19
|
|
mdb> mdb> Contexts will not be printed.
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> break mylast
|
|
0: + stop interface pred change_search.mylast/2-0 (det)
|
|
mdb> continue
|
|
E2: C2 CALL pred change_search.mylast/2-0 (det)
|
|
mdb> finish -n
|
|
E3: C2 EXIT pred change_search.mylast/2-0 (det)
|
|
mdb> format pretty
|
|
mdb> format_param depth 10
|
|
mdb> dd
|
|
mylast([1, 2, 3, 4, ..., ...], no)
|
|
Valid? info
|
|
Context of current question : change_search.m:26 (change_search.m:20)
|
|
Search mode : top down
|
|
The current question was chosen because this is the node where the `dd'
|
|
command was issued.
|
|
dd> no
|
|
mylast([2, 3, 4, 5, ..., ...], no)
|
|
Valid? info
|
|
Context of current question : change_search.m:26 (change_search.m:29)
|
|
Search mode : top down
|
|
The current question was chosen because this is the next node in the
|
|
top-down search.
|
|
dd> mode dq
|
|
mylast([501, 502, 503, 504, ..., ...], no)
|
|
Valid? info
|
|
Context of current question : change_search.m:26 (change_search.m:29)
|
|
Search mode : divide and query
|
|
Estimated questions remaining : 12
|
|
Number of suspect events : 4,000
|
|
The current question was chosen because this node divides the suspect
|
|
area into two regions of 2,000 and 2,000 events each.
|
|
dd> no
|
|
mylast([751, 752, 753, 754, ..., ...], no)
|
|
Valid? info
|
|
Context of current question : change_search.m:26 (change_search.m:29)
|
|
Search mode : divide and query
|
|
Estimated questions remaining : 11
|
|
Number of suspect events : 2,000
|
|
The current question was chosen because this node divides the suspect
|
|
area into two regions of 1,000 and 1,000 events each.
|
|
dd> pd
|
|
E4: C3 EXIT pred change_search.mylast/2-0 (det)
|
|
mdb> stack
|
|
0 751* pred change_search.mylast/2-0 (det)
|
|
751 pred change_search.main/2-0 (det)
|
|
mdb> retry 750
|
|
E2: C2 CALL pred change_search.mylast/2-0 (det)
|
|
mdb> p
|
|
mylast([1, 2, 3, 4, ..., ...], '_')
|
|
mdb> dd -r
|
|
mylast([751, 752, 753, 754, ..., ...], no)
|
|
Valid? browse 2
|
|
browser> mark
|
|
mylast([1000], no)
|
|
Valid? info
|
|
Context of current question : change_search.m:26 (change_search.m:29)
|
|
Search mode : divide and query
|
|
Estimated questions remaining : 10
|
|
Number of suspect events : 1,000
|
|
The current question was chosen because the marked subterm was bound by
|
|
the unification inside the predicate change_search.mylast/2
|
|
(change_search.m:27). The path to the subterm in the atom is 2.
|
|
dd> pd
|
|
E5: C4 EXIT pred change_search.mylast/2-0 (det)
|
|
mdb> dd -r
|
|
mylast([1000], no)
|
|
Valid? info
|
|
Context of current question : change_search.m:26 (change_search.m:29)
|
|
Search mode : divide and query
|
|
Estimated questions remaining : 10
|
|
Number of suspect events : 1,000
|
|
The current question was chosen because the marked subterm was bound by
|
|
the unification inside the predicate change_search.mylast/2
|
|
(change_search.m:27). The path to the subterm in the atom is 2.
|
|
dd> mode binary
|
|
mylast([875, 876, 877, 878, ..., ...], no)
|
|
Valid? mode top_down
|
|
mylast([752, 753, 754, 755, ..., ...], no)
|
|
Valid? undo
|
|
mylast([875, 876, 877, 878, ..., ...], no)
|
|
Valid? undo
|
|
dd> mode divide_and_query
|
|
mylast([876, 877, 878, 879, ..., ...], no)
|
|
Valid? n
|
|
mylast([939, 940, 941, 942, ..., ...], no)
|
|
Valid? q
|
|
Diagnosis aborted.
|
|
E5: C4 EXIT pred change_search.mylast/2-0 (det)
|
|
mdb> quit -y
|