Prints every recorded frame of the current thread's trace. A no-op if there is no active trace, which also covers the case where error return tracing was never enabled anywhere along the propagation chain in the first place - callers don't need to check that separately (see Error.dumpTrace() and panic()'s own wiring, both of which call this unconditionally).