# \#debugging

**URL:** https://swi-prolog.discourse.group/tag/debugging/84.md

[Latest](https://swi-prolog.discourse.group/latest.md) · [Categories](https://swi-prolog.discourse.group/categories.md) · [Tags](https://swi-prolog.discourse.group/tags.md)

---

## [Interrupting in debug mode leads to invisible console input](https://swi-prolog.discourse.group/t/interrupting-in-debug-mode-leads-to-invisible-console-input/9134)

<div class="topic-metadata">

**Author:** [@nijan104](https://swi-prolog.discourse.group/u/nijan104)\
**Replies:** 1\
**Last updated:** [July 28, 2025, 7:17am UTC](https://swi-prolog.discourse.group/t/interrupting-in-debug-mode-leads-to-invisible-console-input/9134 "2025-07-28T07:17:07Z")

</div>

Hi all, I encountered a strange behaviour while using version 9.2.9-1 in debug mode (trace). When I interrupt the programm, followed by a break (b), I can no longer see the input on the console window. Usually I would …

---

## [Using trace in pengine server, any way to send the output trace to the client?](https://swi-prolog.discourse.group/t/using-trace-in-pengine-server-any-way-to-send-the-output-trace-to-the-client/8891)

<div class="topic-metadata">

**Author:** [@DarkBramble](https://swi-prolog.discourse.group/u/DarkBramble)\
**Replies:** 0\
**Last updated:** [March 24, 2025, 4:50pm UTC](https://swi-prolog.discourse.group/t/using-trace-in-pengine-server-any-way-to-send-the-output-trace-to-the-client/8891 "2025-03-24T16:50:12Z")

</div>

If I have a pengine server containing rules and facts. I can send a query like get\_safe\_foods(\\"jane\_smith@nqminds.com\\", SafeFoods) to the pengine server and get the resulting safe foods in json format like: { "S…

---

## [XPCE gtrace's unexpected behaviour for X=... style clauses](https://swi-prolog.discourse.group/t/xpce-gtraces-unexpected-behaviour-for-x-style-clauses/6854)

<div class="topic-metadata">

**Author:** [@kowalsky](https://swi-prolog.discourse.group/u/kowalsky)\
**Replies:** 2\
**Last updated:** [September 27, 2023, 10:03am UTC](https://swi-prolog.discourse.group/t/xpce-gtraces-unexpected-behaviour-for-x-style-clauses/6854 "2023-09-27T10:03:19Z")

</div>

I’m using: SWI-Prolog version 8.4.0 64 bits, with XPCE 2.0 When I run a graphical tracer with gtrace sometimes it shows decompiled listing of a predicate rather than the predicate in its original file. This happens when…

---

## [Debug Adapter Protocol Server 0.2.13](https://swi-prolog.discourse.group/t/debug-adapter-protocol-server-0-2-13/5010)

<div class="topic-metadata">

**Author:** [@oskardrums](https://swi-prolog.discourse.group/u/oskardrums)\
**Replies:** 8\
**Last updated:** [February 24, 2022, 10:36am UTC](https://swi-prolog.discourse.group/t/debug-adapter-protocol-server-0-2-13/5010 "2022-02-24T10:36:24Z")

</div>

Hi, There have been some recent updates to the SWI-Prolog DAP server implementation. The latest version is available for installation by running: ?- pack\_install(debug\_adapter). ... Package: debug\_adapt…

---

## [Messaging based foreign predicate proxy](https://swi-prolog.discourse.group/t/messaging-based-foreign-predicate-proxy/3943)

<div class="topic-metadata">

**Author:** [@grossdan](https://swi-prolog.discourse.group/u/grossdan)\
**Replies:** 5\
**Last updated:** [May 12, 2021, 11:04am UTC](https://swi-prolog.discourse.group/t/messaging-based-foreign-predicate-proxy/3943 "2021-05-12T11:04:17Z")

</div>

Hello, What if there exists a mirror FFI for debugging that uses messaging to communicate between a Prolog program (thread) and foreign predicate code, written in any other relevant language. The idea is to allow debug…
