backtrace_capture
host callCapy
function backtrace_capture() string function backtrace_capture(max_frames : s32, skip_frames : s32) string
Description
backtrace_capture gets a backtrace for the current call stack.
Call it with no arguments. You can also set the maximum frame count and skip count.
Parameters
max_frames : maximum number of frames
skip_frames : number of newest frames to omit
Return Values
a backtrace string
Example
Capy
print(backtrace_capture(), "\n")