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