A.14 library(debug): Print debug messages and test assertions
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(debug): Print debug messages and test assertions
          • debugging/1
          • debugging/2
          • debug/1
          • nodebug/1
          • list_debug_topics/0
          • list_debug_topics/1
          • debug_message_context/1
          • debug/3
          • debug_print_hook/3
          • assertion/1
          • assertion_failed/2
    • Packages
Availability::- use_module(library(debug)).(can be autoloaded)
Source[det]list_debug_topics
[det]list_debug_topics(+Options)
List currently known topics for debug/3 and their setting. Options is either an atom or string, which is a shorthand for [search(String)] or a normal option list. Defined options are:
search(String)
Only show topics that match String. Match is case insensitive on the printed representation of the term.
active(+Boolean)
Only print topics that are active (true) or inactive (false).
output(+To)
Only print topics whose target location matches To. This option implicitly restricts the output to active topics.