protocol

event_dbgp

Debugging protocol similar to those found in most Prolog compilers.

author:
Paulo Moura
version:
1.0
date:
2000/7/24
compilation:
static, context_switching_calls, events

(no dependencies on other files)

Public interface

trace/0

Starts tracing all message sending events.

compilation:
static
mode – number of solutions:
trace – one

notrace/0

Stops tracing.

compilation:
static
mode – number of solutions:
notrace – one

debug/0

Activates spy points and starts debugging.

compilation:
static
mode – number of solutions:
debug – one

nodebug/0

Suspends spy points and stops debugging.

compilation:
static
mode – number of solutions:
nodebug – one

debugging/0

True if the debugger is active.

compilation:
static
mode – number of solutions:
debugging – zero_or_one

init/0

Initializes debugger, turns debugging off and resets all spy points and streams.

compilation:
static
mode – number of solutions:
init – one

stream/2

Current debugger input or ouput streams.

compilation:
static
template:
stream(Kind,Stream)
mode – number of solutions:
stream(?atom,?stream) – zero_or_more

set_stream/2

Sets the debugger input or output stream.

compilation:
static
template:
set_stream(Kind,Stream)
mode – number of solutions:
set_stream(+atom,+stream) – one

Protected interface

(none)

Private predicates

(none)

Remarks

(none)