-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
No source context even though source bundles available #60236
Comments
@vaind since you looked at this, the fact that works on bundled code in the PDB but not in source bundles, any hints where the problem might be or where to look? |
I also met this issue. C# source bundles available through setting "SentryUploadSources" on MSBuild but in the end no source available for the stack frame. |
This has slipped through the cracks. I'll check what's going on. At the first glance, I'd say the debug symbols (PDBs) uploaded already contain some source so the source bundle is not used at all. |
@vaind Yes I think so. Sentry said that the source is bundled with pdb file and have 'source' mark on it. But somehow did not used at all. |
If I remember correctly, PDBs often have source code blocks for generated code, even though you don't enable This is the relevant code in the Symbolicator: Notably from And I've just found out this issue is a duplicate of getsentry/symbolicator#1112 |
Hope this issue would be able to resolve soon~ Thanks @vaind |
While adding new Sentry features to Sonarr I noticed I can't get source context to show up even though I uploaded PDBs and source bundles:
It's only broken using the Sentry CLI Source Bundles feature.
If I try to embed sources in the .NET PDB, it actually works.
Event in Sentry: https://bruno-garcia.sentry.io/issues/4647134873/?imageCodeId=65594f7b12000&imageDebugId=b951abf3-1d87-42a9-a886-65880caa884c-e185dcc0&project=4506249065332736&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=14d&stream_index=0
PDB (renamed to
txt
so GH lets me upload it):5cd89838-5d43-4156-ae7d-cdceb9c721a0-eee65b5b.pdb.txt
DLL (renamed to
txt
so GH lets me upload it):Sonarr.dll.txt
Raw JSON
The text was updated successfully, but these errors were encountered: