Files
mercury/tests/debugger/polymorphic_output.exp
Fergus Henderson 9d4392791e Fix some bugs in a test case that I recently added.
Estimated hours taken: 0.25

Fix some bugs in a test case that I recently added.

tests/debugger/Mmakefile:
tests/debugger/polymorphic_output.inp:
tests/debugger/polymorphic_output.exp:
tests/debugger/polymorphic_output.exp2:
	Fix some bugs in this test case:
	- the program throws an exception, so we need to handle the test
	  of the exit status specially in the Mmakefile;
	- when setting a breakpoint on `det_arg', the `.inp' file needs
	  to use an explicit `std_util__' module qualifier to avoid ambiguity
	  with the `det_arg' procedure in the `prolog' module;
	- the `.exp' and `.exp2' files did not match what was actually output.
2000-04-16 06:10:05 +00:00

14 lines
420 B
Plaintext

1: 1 1 CALL pred polymorphic_output:main/2-0 (det) polymorphic_output.m:20
mdb> echo on
Command echo enabled.
mdb> register --quiet
mdb> context none
Contexts will not be printed.
mdb> b std_util__det_arg
There is no such procedure.
mdb> c
Uncaught exception:
Software Error: det_arg: argument number out of range
Last trace event was event #7.
Last trace event before the unhandled exception was event #4.