Files
mercury/tests/debugger/polymorphic_output.exp2
Zoltan Somogyi 518e6e46db Strip away goal paths from exception events in the test cases that
Estimated hours taken: 0.5

tests/debugger/Mmakefile:
tests/debugger/declarative/Mmakefile:
	Strip away goal paths from exception events in the test cases that
	generate them, because different optimization levels cause different
	goals paths to be associated with exceptions.

tests/debugger/*.exp{,2}:
tests/debugger/declarative/*.exp{,2}:
	Strip away goal paths from exception events in the expected outputs
	of those test cases.
2000-11-01 04:26:32 +00:00

24 lines
861 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
0: + stop interface func std_util:det_arg/3-0 (det)
mdb> c
9: 6 4 CALL func std_util:det_arg/3-0 (det)
mdb> P
HeadVar__1 two("three", 3, three("four", 4, "one", 1, empty, empty, empty), two/4)
HeadVar__2 3
mdb> f
10: 6 4 EXCP func std_util:det_arg/3-0 (det)
mdb> P
HeadVar__1 two("three", 3, three("four", 4, "one", 1, empty, empty, empty), two/4)
HeadVar__2 3
mdb> c
Uncaught exception:
Software Error: det_arg: argument number out of range
Last trace event was event #15.
Last trace event before the unhandled exception was event #9.