Skip to content
Jan Wielemaker edited this page Sep 25, 2025 · 2 revisions

Viewing SWI-Prolog threads

image
The SWI-Prolog thread monitor


The thread monitor is a tool to examine all SWI-Prolog threads. The left pane shows all known threads, where an icon indicates its state as one of running, succeeded, failed or terminated on an exception. Running threads show CPU usage by partly colouring the icon's background green.

Clicking a thread shows stack and CPU time usage. A context menu allows for debugging, profiling or aborting threads.

Clone this wiki locally