Common Prolog provides a standard 4-port debugging model ( call exit redo fail ). Tracing, Spy Points, Leashing, and interactive debugging will each be discussed separately.
call
exit
redo
fail