mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
Estimated hours taken: 0.1
trace/mercury_trace_vars.c:
Fix a bug: if you try to print a nonexistent named variable,
return an error message.
tests/debugger/debugger_regs.{inp,exp}:
Test for this fix.
7 lines
43 B
Plaintext
7 lines
43 B
Plaintext
echo on
|
|
|
|
|
|
print NoSuchVar
|
|
print *
|
|
continue
|