Function sentry_contrib_native_sys::event_value_add_stacktrace[][src]

pub unsafe extern "C" fn event_value_add_stacktrace(
    event: Value,
    ips: *mut *mut c_void,
    len: usize
)

Adds a stack trace to an event.

The stack trace is added as part of a new thread object. This function is deprecated in favor of using sentry_value_new_stacktrace in combination with sentry_value_new_thread and sentry_event_add_thread.

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