Repository navigation
feat: extract and upload embedded Portable PDB from PE - #1463
Conversation
f8d7614 to
7d7a084
Compare
Swatinem
left a comment
There was a problem hiding this comment.
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

symbolicrelease 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
symbolicatorandsymbolic-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.csprojwith<DebugType>embedded</DebugType>