leash/1 developmentleash(+Mode)
Starts leashing on the ports given by Mode.
[all] or one of [call,exit,redo,fail,done,head,exception]
all, or a list of the ports to be leashed.
leash/1. This form, in which the argument is an integer from 0
to 127, is also supported by Quintus Prolog, but is not recommended, since the new
form is clearer.
| ?- leash([]).
turns off all leashing; now when you creep you will get an exhaustive trace but no opportunity to interact with the debugger. You can get back to the debugger to interact with it by pressing ^c t. The command
| ?- leash([call,redo]).
leashes on the Call and Redo ports. When creeping, the debugger will now stop at every Call and Redo port to allow you to interact.
instantiation_error
domain_error