I do use SWI-Prolog with Windows, VSCode and use gtrace. However I do not use gtrace within VSCode I use gtrace by starting the Prolog code with SWI-Prolog from the command line to open a Prolog top level then use gtrace.
Don’t know if anyone has been able to get gtrace to work with VSCode but it has been discussed before.
?- gtrace.
% The graphical front-end will be used for subsequent tracing
true.
[trace] ?-
It automatically goes back to trace/0
It’s strange because the graphical editor works fine…any clues? (BTW I like trace/0 so it’s of no importance at all, but just to understand what’s going on…)
Thanks and congrats for the new xmas-bishop owl on the swi-prolog website
Not sure it does. It says it loaded the GUI tracer and is now in trace mode. Normally, the next goal should appear in the graphical debugger. I normally use
BTW using for once the graphical debugger had the positive outcome that I “discovered” the Gertjan van Noord (is it a pen name which stands for you, Jan? Or is this guy a real person?) definition of the member/2 predicate. Youssou would have liked it, I guess, because it’s deterministic when it’s left with a one-element list as input. Thanks