Skip to content

Debug files for crash report analysis of production apps #8734

@bruno-garcia

Description

@bruno-garcia

Android application type

.NET Android (net7.0-android, net8.0-android, etc.)

Affected platform version

All supported

Description

Sentry's .NET SDK support Android including native crash reporting (ART and NDK).
Symbol servers are used to help improve the quality of stack traces with line numbers, file paths and better function names as well as use source link to link to the original source code and fetch surrounding lines of code on stack traces. This includes Microsoft and NuGet.org symbol servers. As well as an Apple symbol server (symbols collected internally).

For Android Native crashes, since there are no symbol servers, we collect some from device farms.

Steps to Reproduce

I'd like to help improve crash reports of .NET apps on Android by collecting all symbols from pre-compiled Android symbols that are shipped as part of .NET releases.

I thought of taking all NuGet libraries such as https://nuget.info/packages/Microsoft.NETCore.App.Runtime.Mono.android-arm/9.0.0-preview.1.24080.9
and collect all dynamic libraries for CFI and other useful debug info:
image

Did you find any workaround?

Is that a reasonable strategy?
Or is there another place I can pull all ELF files related to .NET releases?

Relevant log output

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions