You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sentry api has an "experimental" part. I am interested in the ability to manually emit a traceback at the time of a crash, for example, during the before_send callback.
I can see the apis like sentry_unwind_stack_from_ucontext() but this is undocumented. Also sentry.h does not apparently ever provide one with a sentry_ucontext_t * to use. Additionally, the void **stacktrace_out, size_t max_len arguments are not explained (who owns memory, what does it contain, etc)
The text was updated successfully, but these errors were encountered:
I tried to expand on the docs a bit in #564. Currently, only unwinding from the current frame (sentry_unwind_stack(NULL, x, y)) is supported across all platforms. The caller has to allocate (probably on the stack) the instruction pointers.
The sentry api has an "experimental" part. I am interested in the ability to manually emit a traceback at the time of a crash, for example, during the
before_send
callback.I can see the apis like
sentry_unwind_stack_from_ucontext()
but this is undocumented. Alsosentry.h
does not apparently ever provide one with asentry_ucontext_t *
to use. Additionally, thevoid **stacktrace_out, size_t max_len
arguments are not explained (who owns memory, what does it contain, etc)The text was updated successfully, but these errors were encountered: