Did you know ... Search Documentation:
Predicate print_prolog_backtrace/2