Function sentry_contrib_native_sys::value_new_stacktrace[][src]

pub unsafe extern "C" fn value_new_stacktrace(
    ips: *mut *mut c_void,
    len: usize
) -> Value

Creates a new Stack Trace conforming to the Stack Trace Interface.

See https://develop.sentry.dev/sdk/event-payloads/stacktrace/

The returned object needs to be attached to either an exception event, or a thread object.

If ips is NULL the current stack trace is captured, otherwise len stack trace instruction pointers are attached to the event.