object
debug_messages
ï
Supports selective enabling and disabling of debug
and debug(Group)
messages.
logtalk_load(debug_messages(loader))
static, context_switching_calls
Limitations: Debug messages are suppressed by the compiler when the
optimize
flag is turned on and thus cannot be enabled in this case.
Public predicatesï
enable/1
ï
Enables all debug
and debug(Group)
messages for the given component.
static
enable(Component)
enable(@term)
- one
disable/1
ï
Disables all debug
and debug(Group)
messages for the given component.
static
disable(Component)
disable(@term)
- one
enabled/1
ï
Enumerates by backtracking the components with enabled debug
and debug(Group)
messages.
static
enabled(Component)
enabled(?term)
- zero_or_more
enable/2
ï
Enables debug(Group)
messages for the given component and group.
static
enable(Component,Group)
enable(@term,@term)
- one
disable/2
ï
Disables debug(Group)
messages for the given component and group.
static
disable(Component,Group)
disable(@term,@term)
- one
enabled/2
ï
Enumerates by backtracking the enabled debug(Group)
messages for each component.
static
enabled(Component,Group)
enabled(?term,?term)
- zero_or_more
Protected predicatesï
(no local declarations; see entity ancestors if any)
Private predicatesï
enabled_/1
ï
Table of components with currently enabled debug
and debug(Group)
messages.
dynamic
enabled_(Component)
enabled_(?term)
- zero_or_more
enabled_/2
ï
Table of currently enabled debug(Group)
per component.
dynamic
enabled_(Component,Group)
enabled_(?term,?term)
- zero_or_more
Operatorsï
(none)