Discussions related to Visual Prolog
Peter Muraya
VIP Member
Posts: 147
Joined: 5 Dec 2012 7:29

Position marker color change during debugging

Post by Peter Muraya »

Hi,
When debugging code, sometimes, the position marker changes from blue to pink. What is this telling me?
You do not have the required permissions to view the files attached to this post.
Mutall Data Management Technical Support
User avatar
Thomas Linder Puls
VIP Member
Posts: 1466
Joined: 28 Feb 2000 0:01

Post by Thomas Linder Puls »

It turns pink when the construction fails.
Regards Thomas Linder Puls
PDC
Peter Muraya
VIP Member
Posts: 147
Joined: 5 Dec 2012 7:29

Post by Peter Muraya »

Hi Thomas,
I guess my confusion came about because the pointer seemed to remain at the same position as the color changed. I can now see it is because of the iterative nature of my get_labels predicate. In this case, what construct failed -- the line

Code: Select all

ChildXp in caller:children
or clause

Code: Select all

get_labels()=Label:-
?
Mutall Data Management Technical Support