mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 09:53:36 +00:00
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.
21 lines
176 B
Plaintext
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
|