Mojo function
format_system_stack
format_system_stack[MAX_STACK_SIZE: Int = 128]() -> String
Formats a stack trace using the system's backtrace
call.
Parameters:
- βMAX_STACK_SIZE (
Int
): The maximum number of function calls to report in the stack trace.
Returns:
The system stack trace as a formatted string, with one indented call per line.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
π What went wrong?