The Prolog debugger is extended by FDBG. The & debugger is modified, and two new commands are added:
23 2 Exit: clpfd:dispatch_global_fast(no_threat(2,_1001,1),0,0, [exit,_1001 in_set[[3|3]]]) ? A [2,4] clpfd:dispatch_global_fast(no_threat(2,<board_2>,1),0,0, [exit,<board_2> in_set[[3|3]]]) board_2 = 1..4 -> {3} Constraint exited.
7 15 Call: bar(4, [_101,_102,_103]) ? W foo=[2,#2]
This would assign the name foo
to _102
, being the second
element of the second argument of the current goal.