-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
feat: extract and upload embedded Portable PDB from PE #1463
Conversation
f8d7614
to
7d7a084
Compare
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.
code lgtm.
Though I do not fully understand the screenshot you posted.
Why do we suddenly get two files? Shouldn’t the portable pdb have everything in it? Or is it rather that sentry-cli creates a separate sourcebundle because you used --include-sources
and it was collecting all the local files referenced from the portable pdb?
Yes, that run was without "embedded sources" ( |
Perfect, that makes sense! Will it do the same when you actually have embedded sources though? |
No, it's just a single file. I was trying to find my yesterday's attempt but there were too many so wasn't sure which one, so ran it again now: BTW it doesn't show that it includes sources, because Sentry isn't updated with the lastest symbolic v11 - getsentry/sentry#43832 |
4b2cfc0
to
c7d0791
Compare
c7d0791
to
87d6ad5
Compare
symbolic
release v11.1.0If CLI finds a PE file with embedded PPDB, it extracts the file and uploads it separately. This way, we don't need on any custom handling in the
symbolicator
andsymbolic-debuginfo
(feature flags) and also we don't upload the PE file just for the sake of the .pdb.The following shows DIF uploads for

samples\Sentry.Samples.Console.Basic\Sentry.Samples.Console.Basic.csproj
with<DebugType>embedded</DebugType>