Skip to content
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: Add support for Portable PDB debug files and .NET symbolication #39610

Merged
merged 3 commits into from
Oct 17, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/sentry/api/endpoints/chunk.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"sources", # Source artifact bundle upload
"bcsymbolmaps", # BCSymbolMaps and associated PLists/UuidMaps
"il2cpp", # Il2cpp LineMappingJson files
"portablepdbs", # Portable PDB debug file
)


Expand Down
1 change: 1 addition & 0 deletions src/sentry/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ def get_all_languages() -> List[str]:
"application/x-bcsymbolmap": "bcsymbolmap",
"application/x-debugid-map": "uuidmap",
"application/x-il2cpp-json": "il2cpp",
"application/x-portable-pdb": "portablepdb",
}

NATIVE_UNKNOWN_STRING = "<unknown>"
Expand Down
3 changes: 2 additions & 1 deletion src/sentry/models/debugfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def file_extension(self) -> str:
return "" if self.file_type == "exe" else ".debug"
if self.file_format == "pe":
return ".exe" if self.file_type == "exe" else ".dll"
if self.file_format == "pdb":
if self.file_format == "pdb" or self.file_format == "portablepdb":
return ".pdb"
if self.file_format == "sourcebundle":
return ".src.zip"
Expand Down Expand Up @@ -275,6 +275,7 @@ def create_dif_from_id(
"elf",
"pdb",
"pe",
"portablepdb",
"wasm",
"sourcebundle",
"bcsymbolmap",
Expand Down
1 change: 1 addition & 0 deletions static/app/views/settings/projectDebugFiles/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class ProjectDebugSymbols extends AsyncView<Props, State> {
'bcsymbolmap',
'uuidmap',
'il2cpp',
'portablepdb',
],
},
},
Expand Down