add_spypoint/1
developmentadd_spypoint
(+SpySpec)
sets a spypoint on the specified predicate or call.
predicate(
Pred)
call(
Caller,
Clausenum,
Callee,
Callnum)
add_spypoint/1
is used to set spypoints on predicates or
on specific calls to predicates while debugging.
add_spypoint/1
does not turn on the debugger.
You have to explicitly turn on the debugger with a call to
debug/0
or trace/0
.
You can add spypoints to predicates or calls that do not exist. If they later get defined the spypoints get placed.
Turning off the debugger does not remove spypoints. Use
remove_spypoint/1
to remove these spypoints.
If you are using QUI, the more convenient way to add these spypoints is to use the QUI based source debugger to select a particular goal or predicate and to use the Spypoints menu.
This predicate is not supported in runtime systems.
instantiation_error
type_error
domain_error
predicate/1
or call/4
term.
current_spypoint/1
, remove_spypoint/1
,
spy/1
, nospy/1
, debugging/0
,
dbg-bas-bas.