Playing around with breakpoints I added this hook definition and test code:
prolog:break_hook(Clause, PC, FR, BFR, Expression, Debug, Action) :-
writeln(user_error, break_hook(Clause, PC, FR, BFR, Expression, Debug)),
Action = continue.
test :-
writeln(egg).
I added a break point with Ctrl-c b:
I expected the break_hook to write the break point context to user_error but it brought up the graphical tracer and waited for input. Thinking it might just be graphical tracer I turned it off, but the result was the same.

