pub unsafe extern "C" fn event_value_add_stacktrace(
event: Value,
ips: *mut *mut c_void,
len: usize
)
Expand description
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.