• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

10.5.1 Debugging threads
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Multithreaded applications
        • Thread support library(threadutil)
          • Debugging threads
            • attach_console/0
            • tdebug/1
            • tdebug/0
            • tnodebug/1
            • tnodebug/0
            • tspy/2
            • tspy/1
    • Packages
Availability::- use_module(library(threadutil)).(can be autoloaded)
Sourcetdebug(+ThreadId)
Prepare ThreadId for debugging using the graphical tracer. This implies installing the tracer hooks in the thread and switching the thread to debug mode using debug/0. The call is injected into the thread using thread_signal/2. We refer to the documentation of this predicate for asynchronous interaction with threads. New threads created inherit their debug mode from the thread that created them.
ClioPatria (version V3.1.1-51-ga0b30a5)