Documentation for method concise assembled from the following pages:

Class: Backtrace §

From Backtrace

(Backtrace) method concise §

Defined as:

method concise(Backtrace:D:)

Returns a concise string representation of the backtrace, filtered by !.is-hidden && .is-routine && !.is-setting.

This program:

sub inner { say Backtrace.new.concise }
sub outer { inner}
outer;

results in:

in sub inner at test.p6 line 1
in sub outer at test.p6 line 2