object
debug_messages¶
Supports selective enabling and disabling of debug and debug(Group) messages.
static, context_switching_callsPublic interface¶
enable/1¶
Enables all debug and debug(Group) messages for the given component.
staticenable(Component)enable(@term) - onedisable/1¶
Disables all debug and debug(Group) messages for the given component.
staticdisable(Component)enabled/1¶
Enumerates by backtraking the components with enabled debug and debug(Group) messages.
staticenabled(Component)enabled(?term) - zero_or_moreenable/2¶
Enables debug(Group) messages for the given component and group.
staticenable(Component,Group)enable(@term,@term) - onedisable/2¶
Disables debug(Group) messages for the given component and group.
staticdisable(Component,Group)disable(@term,@term) - onedisable(@term,@term) - oneenabled/2¶
Enumerates by backtraking the enabled debug(Group) messages for each component.
staticenabled(Component,Group)enabled(?term,?term) - zero_or_moreProtected interface¶
(see related entities)
Private predicates¶
enabled_/1¶
Table of components with currently enabled debug and debug(Group) messages.
dynamicenabled_(Component)enabled_(?term) - zero_or_moreenabled_/2¶
Table of currently enabled debug(Group) per component.
dynamicenabled_(Component,Group)enabled_(?term,?term) - zero_or_moreOperators¶
(none)
Remarks¶
Limitations: Debug messages are suppressed by the compiler when the “optimize” flag is turned on and thus cannot be enabled in this case.