Availability:C-language interface function
depth, int flags)Dump a Prolog backtrace to the
user_error stream. Depth
is the number of frames to dump. Flags is a bitwise or of the
- (0x1) Do not try to print goals. Instead, just print the
predicate name and arity. This reduces the likelihood to crash if
is called in a damaged environment.
- (0x2) Only show‘user' frames. Default is to also show frames of
hidden built-in predicates.