is there a way to output the whole trace of one call in SWI-Prolog at
once?
I am trying to debug something with very many steps in between and do
not want to keep holding down the return key all the time.
See http://www.swi-prolog.org/pldoc/doc_for?object=leash%2f1
But you really do not want that. Instead:
* Think and make hypothesis
* Use assertion/1 and/or debug/3 from library(debug).
* Use breakpoint (in the graphical debugger)
* Conditional breakpoints are not there, but you can put
this somewhere in a clause: ( some_condition -> gtrace ; true ).
The run ?- make. and try again.
* For all the above, you may want to run the program using
?- debug, mygoal., making the system remember more context.
Cheers --- Jan