parent
3f30a2bf18
commit
59935893ac
10
pl/debug.yap
10
pl/debug.yap
@ -556,12 +556,14 @@ debugging :-
|
|||||||
% ( SL = L -> SLL = '>' ; SLL = ' '),
|
% ( SL = L -> SLL = '>' ; SLL = ' '),
|
||||||
SLL = ' ',
|
SLL = ' ',
|
||||||
( Module\=prolog,
|
( Module\=prolog,
|
||||||
Module\=user ->
|
Module\=user
|
||||||
format(user_error,'~a~a~a (~d) ~q: ~a:',[Det,CSPY,SLL,L,P0,Module])
|
->
|
||||||
|
GW = Module:G
|
||||||
;
|
;
|
||||||
format(user_error,'~a~a~a (~d) ~q:',[Det,CSPY,SLL,L,P0])
|
GW = G
|
||||||
),
|
),
|
||||||
'$debugger_write'(user_error,G).
|
format(user_error,'~a~a~a (~d) ~q:',[Det,CSPY,SLL,L,P0])
|
||||||
|
'$debugger_write'(user_error,GW).
|
||||||
|
|
||||||
'$unleashed'(call) :- get_value('$leash',L), L /\ 2'1000 =:= 0. %'
|
'$unleashed'(call) :- get_value('$leash',L), L /\ 2'1000 =:= 0. %'
|
||||||
'$unleashed'(exit) :- get_value('$leash',L), L /\ 2'0100 =:= 0. %'
|
'$unleashed'(exit) :- get_value('$leash',L), L /\ 2'0100 =:= 0. %'
|
||||||
|
Reference in New Issue
Block a user