mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
Estimated hours taken: 2
Branches: main
Fix a bug that caused an abort at certain events in the debugger.
runtime/mercury_stack_layout.h:
Change the name of the MR_exec_max_var_num field to
MR_exec_max_named_var_num, as this better reflects its contents.
trace/mercury_trace_vars.c:
If a var has a number beyond the value of MR_exec_max_named_var_num,
do not abort; instead, ignore the variable because it is unnamed
(and therefore of no interest to the user).
tests/debugger/queens_rep.{m,inp,exp}:
New text case to confirm the lack of abort.
tests/debugger/Mmakefile:
Enable the new test case.
6 lines
49 B
Plaintext
6 lines
49 B
Plaintext
echo on
|
|
context none
|
|
goto 9
|
|
print
|
|
continue -n -S
|