debug/0 development

Synopsis

debug

Turns on the debugger in debug mode.

Description

debug/0 turns the debugger on and sets it to debug mode. Turning the debugger on in debug mode means that it will stop at the next spypoint encountered in the current execution.

The effect of this predicate can also be achieved by typing the letter d after a ^c interrupt (see ref-iex-int).

If you are runnning Prolog with QUI then debug/0 will cause the debugger window to be popped open.

This predicate is not supported in runtime systems.

See Also

spy/1,add_spypoint/1,trace/0, nodebug/0