mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-05-01 17:24:34 +00:00
Estimated hours taken: 2 Branches: main Remove call depth numbers from standardized event printing. This will make maintaining the debugger test cases easier since a lot of the expected outputs differ only in the call depth of their events, because of deep tracing of the standard library in the decldebug grade. Not all the debugger tests are run with standardized event printing, so printing of call depths will still be exercised. tests/debugger/breakpoints.exp tests/debugger/breakpoints.exp2 tests/debugger/browser_test.exp tests/debugger/exception_cmd.exp tests/debugger/exception_cmd.exp2 tests/debugger/exception_cmd.exp3 tests/debugger/exception_value.exp tests/debugger/exception_value.exp2 tests/debugger/exception_vars.exp tests/debugger/existential_type_classes.exp tests/debugger/existential_type_classes.exp2 tests/debugger/exported_eqv_type.exp tests/debugger/higher_order.exp tests/debugger/interpreter.exp2 tests/debugger/lambda_expr.exp tests/debugger/loopcheck.exp3 tests/debugger/loopcheck.inp2 tests/debugger/nondet_stack.exp tests/debugger/nondet_stack.exp2 tests/debugger/polymorphic_output.exp tests/debugger/polymorphic_output.exp2 tests/debugger/polymorphic_output.exp3 tests/debugger/print_goal.exp tests/debugger/print_table.exp tests/debugger/queens.exp tests/debugger/queens.exp2 tests/debugger/resume_typeinfos.exp tests/debugger/retry.exp tests/debugger/retry.exp2 tests/debugger/tabled_read.exp tests/debugger/tabled_read_decl.exp tests/debugger/tabled_read_unitize.exp tests/debugger/type_desc_test.exp tests/debugger/declarative/aadebug.exp tests/debugger/declarative/app.exp tests/debugger/declarative/args.exp tests/debugger/declarative/big.exp tests/debugger/declarative/filter.exp tests/debugger/declarative/if_then_else.exp tests/debugger/declarative/input_term_dep.exp tests/debugger/declarative/io_stream_test.exp tests/debugger/declarative/io_stream_test.exp2 tests/debugger/declarative/output_term_dep.exp tests/debugger/declarative/propositional.exp tests/debugger/declarative/remember_modes.exp tests/debugger/declarative/special_term_dep.exp tests/debugger/declarative/tabled_read_decl.exp tests/debugger/declarative/trust.exp Remove call depth numbers from output run with standardized event printing. trace/mercury_trace_internal.c Remove call depth from standardized event printing.
27 lines
1.1 KiB
Plaintext
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:21 (from loopcheck.m:14)
|
|
3: 3 3 CALL pred loopcheck.loop/1-0 (det)
|
|
loopcheck.m:21 (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 #316.
|
|
Last trace event before the unhandled exception was event #8.
|