|Did you know ...||Search Documentation:|
backtrace_goal_depth, set to
2initially, showing the goal and toplevel of any argument.
Clause+PCor as a location term that does not use clause references, allowing the exception to be printed safely in a different context.
|Frame||- is the frame to start from. See prolog_current_frame/1.|
|MaxDepth||- defines the maximum number of frames returned.|
get_prolog_backtrace(MaxDepth, Backtrace, [frame(Frame)]).