leash/1 — set which ports are leashed for the debugger
leash(Mode) leash([Mode | Modes ])
For each of the
Modes on the argument, the leashing mode of the debugger is set for that
Mode is one of the atoms shown in Leashing Modes Table below.
Note that it does not make sense to use the list argument format for specifying modes if the
all mode is included with other modes.
Leashing Modes Table
|all||Prompt at all ports|
|call||Prompt at call ports|
|exit||Prompt at redo ports|
|fail||Prompt at fail ports|
|redo||Prompt at redo ports|
The following examples illustrate the use of
?- leash([call,redo]). yes. ?- leash(). yes.
Note that using an empty list as the argument to
leash/1, as shown in the example above, results in no ports being leashed.