nospy/1 development

Synopsis

nospy(+PredSpecs)

Removes spypoints on all the predicates represented by PredSpecs.

Arguments


PredSpecs gen_pred_spec_tree
Single predicate specification of form Name or Name/Arity, or a list of such.

Description

To remove all spypoints, use nospyall/0

If nospy/1 is given any invalid argument it prints a warning.

Note that since nospy is a built-in operator, the parentheses, which usually surround the arguments to a predicate are not necessary (although they can be used if desired).

     | ?- nospy test/1.
     % spypoint removed from test/1
     
     yes
     | ?-
     

This predicate is not supported in runtime systems.

See Also

spy/1, nospyall/0, debug/0, add_spypoint/1, remove_spypoint/1