-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provided context for exception's thread for mac #39
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will defer this to @supervacuus
Hi @saf-e! Thanks for the contribution! Can you elaborate on what you're trying to achieve with this change? As @Swatinem mentioned in #39 (comment), this not only breaks compatibility with the upstream project but also breaks the current interface with the Native SDK. For this change to make sense in the Native SDK context, the retrieved information would have to be passed on somehow to the client via the The change, as it currently exists in this PR, does not provide any value to the Native SDK users. If you can provide a few lines of explanation, that would help. Thanks. |
As I already mentioned, breakpad does not provide any exception context to the callback for mac (for windows we have it). So, its not possible make any logic on it. In our case, we use exception's callstack (obtained from context), to analyze do we want to sent this crash to sentry or not |
Thanks, @saf-e. I probably formulated my question incorrectly: I understand what the feature you're trying to add does. The question for me is how you want to integrate this. If I merge this as is, the breakpad fork will be unusable in the Native SDK (because the build will break). So, my question boils down to this:
I am okay with taking over the integration, but it will take a while until I have time to do this. |
yes, but it has no sense w/o this one, so it waits for its turn
I suppose thats possible, will try to do in nearest future |
You can checkout the breakpad submodule at the commit in this PR and then commit it to a PR in the Native SDK. Github PRs have no problem with submodules as long as the referenced commit (i.e., its branch/fork) is accessible via a GitHub remote (like from a PR of the remote in
Thx! |
@supervacuus added ifdef for sentry compilation, plz check if you are ok with the approach |
Sorry for the gigantic delay, @saf-e. Thanks for the effort. This will be integrated via getsentry/sentry-native#1083 |
Collect exception's thread context to give ability traverse call stack