If SpecList is of the form Name or Module:Name, where Name is an atom, then spypoints are removed from procedures from module Moudle (if given) with name Name and of any arity.
If SpecList is of the form File:Line, where File is a file name and Line is an integer, the the closest matching breakpoint to line Line in the file File is removed. If Line is a variable, then all breakpoints in file File are removed.
If SpecList is a variable, all spypoints of visible procedures are removed.
Note that spypoints can also be removed with set_flag(Proc, spy, off).
Success:
[eclipse 1]: [user].
q.
p :- q, writeln(hi).
tty compiled 132 bytes in 0.00 seconds
Yes (0.15s cpu)
[eclipse 2]: spy q.
spypoint added to q/0.
Debugger switched on - leap mode
Yes (0.00s cpu)
[eclipse 3]: p.
+(2) 2 CALL q %> leap
+(2) 2 EXIT q %> leap
hi
Yes (0.00s cpu)
[eclipse 4]: nospy q.
spypoint removed from q/0.
Yes (0.00s cpu)
[eclipse 5]: p.
hi
Yes (0.00s cpu)
[eclipse 6]:
Error:
nospy("l"). (Error 5).