Discussions related to Visual Prolog
User avatar
Ferenc Nagy
VIP Member
Posts: 215
Joined: 24 Apr 2007 12:26

Need window of backtrack points during debugging

Unread post 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.
TIA, Regards,
Frank Nagy
User avatar
Thomas Linder Puls
VIP Member
Posts: 1216
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls »

Backtrack points and catch-points are shown in the run stack as described in Ide/Debugger#Run_Stack_Window.
Regards Thomas Linder Puls
PDC
Peter Muraya
VIP Member
Posts: 147
Joined: 5 Dec 2012 7:29

Unread post 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.
Mutall Data Management Technical Support
User avatar
Thomas Linder Puls
VIP Member
Posts: 1216
Joined: 28 Feb 2000 0:01

Unread post 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).
Regards Thomas Linder Puls
PDC
Post Reply