Position marker color change during debugging

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

Position marker color change during debugging

Unread post by Peter Muraya »

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

Unread 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

Unread 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
Post Reply