Files
mercury/tests/debugger/interpreter.inp
Zoltan Somogyi 8d42f3254b Fix the failure of debugger/interpreter in debug grades.
In debug grades, io.close_input is traced, so an mdb single-step command
stops there; in non-debug grades, io.close_input is not traced, so
single-step does not stop there. This was the cause of the difference
in output.

Make this cause irrelevant by changing the relevant mdb command in the input
from single-step to finish of the parent, which goes to the same event
in both debug and non-debug grades.
2022-04-30 01:54:25 +10:00

21 lines
176 B
Plaintext

echo on
context none
register --quiet
b consult_file
c
delete 0
vars
print *
b database_assert_clause
c
delete 0
finish
print *
finish -a
print *
finish -n
finish 1
continue