Page 1 of 1

Need window of backtrack points during debugging

Posted: 17 Sep 2015 7:31
by Ferenc Nagy
The older VIP versions had one more debug window: The stack of backtrack points.
The Turbo and PDC Prolog debug window showed clearly which statement is a backtrack point in the run stack.

Posted: 17 Sep 2015 18:14
by Thomas Linder Puls
Backtrack points and catch-points are shown in the run stack as described in Ide/Debugger#Run_Stack_Window.

Posted: 18 Sep 2015 6:31
by Peter Muraya
Frank and Thomas,
I only use the run stack window for tracing backwards which predicates were executed before I got to the current breakpoint. I have not been able to follow/interpret/use the many graphics accompanying each entry in that window.

Posted: 18 Sep 2015 8:20
by Thomas Linder Puls
I agree there are many symbols, but some of it is not that difficult.

If the code returns normally, then you will get back to the entry just below.

If it fails you will get to the first level (from top down) that have a green down a arrow. Actually you will need to expand that node to see where you really end up (the deepest nested green down arrow).

If terminates wit an exception you will get to the first entry (from top down) that have a red line (try-catch or try-finally).