Re: Failed to set breakpoint

Ross Boylan <[email protected]> Thu, 03 Apr 2014 13:28:53 -0700
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <1396556933.9858.148.camel@localhost>
On Thu, 2014-04-03 at 12:51 -0700, Alan Baljeu wrote:
> I have a file loaded containing the following generated predicate among others.  Pcemacs refuses to set a breakpoint on any line contained in it.  Other predicates in the same file, no problem.  But all predicates looking like this, problem.  If it matters, loop29 is generated, and the next time the file gets generated it may be called loop34.  
> 
I experienced this when there was a syntax error, I think in the
preceding code.  Since yours is autogenerated that seems unlikely, but I
offer it as a possible clue.

Another indicator of the problem was that the code wasn't colored like
the rest of the code.

Ross Boylan
> loop29((Object, Key), [RefVar|M39], [ActiveVarId|N39]) :-
> ( ( RefVar= (Ref=_),
>     wait_instance_active(Object, Ref, ActiveVarId)
>   ),
>   true
> ), !,
> loop29((Object, Key), M39, N39).
> 
> loop29(_, [], []).
> 
>  
> Alan Baljeu
> -------------- next part --------------
> HTML attachment scrubbed and removed
> _______________________________________________
> SWI-Prolog mailing list
> [email protected]
> https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog