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.
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
E1: C1 CALL pred exception_value.main/2-0 (cc_multi) exception_value.m:12
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> register --quiet
|
|
mdb> break p
|
|
0: + stop interface pred exception_value.p/1-0 (det)
|
|
mdb> break q
|
|
1: + stop interface pred exception_value.q/1-0 (det)
|
|
mdb> continue
|
|
E2: C2 CALL pred exception_value.p/1-0 (det) exception_value.m:30
|
|
mdb> finish
|
|
E3: C2 EXCP pred exception_value.p/1-0 (det)
|
|
mdb> print exception
|
|
"p exception"
|
|
mdb> continue
|
|
mdb: warning: reached unknown label
|
|
This may result in some exception events
|
|
being omitted from the trace.
|
|
exception(univ_cons("p exception"))
|
|
E4: C3 CALL pred exception_value.q/1-0 (det) exception_value.m:35
|
|
mdb> finish
|
|
E5: C3 EXCP pred exception_value.q/1-0 (det)
|
|
mdb> browse exception
|
|
browser> set depth 9
|
|
browser> set size 99
|
|
browser> ls
|
|
"q oops" - [1, 2, 3]
|
|
browser> quit
|
|
mdb> continue
|
|
mdb: warning: reached unknown label
|
|
This may result in some exception events
|
|
being omitted from the trace.
|
|
exception(univ_cons("q oops" - [1, 2, 3]))
|