-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Consider NOT sending debug images in certain cases #2227
Comments
The errors have been suppressed with getsentry/sentry#45571. Once deployed, the errors will only appear in older versions of Sentry. So my opinion is to let this be. |
Another approach would be to allow an SDK option to control this. Something like |
I've been thinking this through more, and I think we should just always send the debug image info if we can. Reason being is that the Let's say for example that you publish symbols to a symbol server, so you don't upload them to Sentry. We will still need the Also, most applications have several different assemblies, including the application itself, any libraries it uses, and the framework and runtime assemblies that come with .NET. Each one would have its own Thus a global setting like Better to just keep sending the debug info when we have it, and deal with any UX errors on the server side. |
Problem Statement
The
DebugImage
class was originally added in version 3.16.0 with #1513, but was unused until we added Portable PDB support in version 3.25.0 with #2050.Since 3.25.0, we've been attaching
SentryEvent.DebugImages
and sending them to with Sentry events, on thedebug_meta.images
interface. We do this for almost every error event, as long as we can determine adebug_id
. This is a signal to Sentry that symbolication should be attempted when the event is processed. If matching debug information files (symbols and/or source bundles) are found, then everything works fine and as intended.The problem is that currently, if
debug_meta
is sent, and no matching debug file was uploaded, it can result in errors displayed in the Sentry UI such as:These are noise for .NET developers in cases where symbolication is already happening client-side and source context isn't desired.
Solution Brainstorm
We could try to detect if
SentryUploadSymbols
orSentryUploadSources
were both unset, write that as an attribute on the assembly, then use it at runtime to avoid sending debug images.Alternatively, we could just continue to let debug images to always be sent. The error messages can be suppressed on the server side.
The text was updated successfully, but these errors were encountered: