mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 09:23:44 +00:00
trace/mercury_trace_cmd_browsing.c:
The "level" command was documented to reset the current ancestor level
to the level of the current event (ancestor level 0) when invoked
without arguments, but when invoked that way, it reported an error
instead. Fix this.
tests/debugger/queens_rep.inp:
tests/debugger/queens_rep.exp:
Add a test for the fix in this existing test case.
9 lines
63 B
Plaintext
9 lines
63 B
Plaintext
echo on
|
|
context none
|
|
goto 9
|
|
up
|
|
up 2
|
|
level
|
|
print
|
|
continue -n -S
|