trace</span> <span class="binding-type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/c28df14/src/core/debug.c#L370">source</a></span> <pre class="binding-text">(debug/stacktrace fiber &amp;opt err prefix)

Prints a nice looking stacktrace for a fiber. Can optionally provide an error value to print the stack trace with. If `err` is nil or not provided, and no prefix is given, will skip the error line. Returns the fiber.</pre><a href="https://janetdocs.org/debu