sets a spypoint on the specified predicate or call.
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
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.