When capturing custom events, can I include the stack trace of all threads? #5364
|
I found that it only contains the stacktrace of the current thread, can it contain all threads? But SentryThreadInspector->getCurrentThreadsWithStackTrace is private, I can't access it. Any suggestions? Thanks! |
Answered by
philippsuess
Jun 6, 2025
Replies: 1 comment 5 replies
|
We currently only attach the stacktrace for the current thread, cause attaching it for all threads requires suspending all threads and that slows down your app a bit. We can consider adding an option to allow attaching all threads if that would help. |
5 replies
Answer selected by
colin1994
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We currently only attach the stacktrace for the current thread, cause attaching it for all threads requires suspending all threads and that slows down your app a bit. We can consider adding an option to allow attaching all threads if that would help.