:sig
function backtrace_capture() string
function backtrace_capture(max_frames : s32, skip_frames : s32) string

:params
max_frames : maximum number of frames
skip_frames : number of newest frames to omit

:returns
a backtrace string

:content
`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.

:example capy render
print(backtrace_capture(), "\n")

:see-group
diagnostics
