Debugging, Transaction and a second command line - asserted facts don't show up

Hello,

I noticed that while debugging, when i run some asserts in context of a transaction, then when opening another query window the asserts don’t show up …

I noticed that when i take out the transaction, the asserted fact does show up in the command line of the query window.

Is there a way to drop back to the command line to query asserted facts as a transaction is processed.

thanks,

Dan

Different query windows run in different threads and transactions (by design) are isolated. If the thread is not waiting in something that cannot be signalled you can use call_in_thread/2. Alternatively start a break from the debugger. That allows you to interact with the thread in the original console. Not sure that works well on all OSes. Works fine in Linux.