ec_render_my_stack_trace

March 26, 2020 Contributors

Name

ec_render_my_stack_trace — render a stack backtrace to a string

Synopsis

#include "debug_tools.h"

| void **ec_render_my_stack_trace** ( | r, |   |
|   | start, |   |
|   | end); |   |

string * <var class="pdparam">r</var>;
int <var class="pdparam">start</var>;
int <var class="pdparam">end</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

render a stack backtrace to a string

Renders a stack backtrace starting at frame start and going until frame end. Frame 0 is the caller’s frame (i.e. the rendering function is skipped).

Parameters

string

string to render to

start

start rendering this number of frames past our caller

end

stop rendering this number of frames past our caller