Position marker color change during debugging

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

Position marker color change during debugging

Unread post by Peter Muraya » 10 Sep 2015 18:21

Hi,
When debugging code, sometimes, the position marker changes from blue to pink. What is this telling me?
Attachments
pink_change.png
pink_change.png (6.14 KiB) Viewed 3219 times
Mutall Data Management Technical Support

User avatar
Thomas Linder Puls
VIP Member
Posts: 1622
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls » 10 Sep 2015 18:38

It turns pink when the construction fails.
Regards Thomas Linder Puls
PDC

Peter Muraya
VIP Member
Posts: 146
Joined: 5 Dec 2012 7:29

Unread post by Peter Muraya » 11 Sep 2015 5:18

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

Post Reply