Did you know ... | Search Documentation: |
![]() | PL_get_trace_context() |
frame(Frame, Choice, Port, PC)
. This provides the same
information as passed to prolog_trace_interception/4.
The additional PC argument provides the program counter in
the executing clause. The msg term may be passed to
print_message/2
to print the current port and goal, similarly to the commandline
debugger.