getsentry / getsentry/sentry-dart
Support symbolication for pure Dart apps
- Dominant language
- Dart
- Stars
- 873
- Forks
- 299
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 30
Description
### Description
`dart compile aot-snapshot bin/example.dart --save-debugging-info=symbols`
> ❯ sentry-cli debug-files check symbols
Debug Info File Check
Type: elf debug companion
Contained debug identifiers:
> Debug ID: fb476760-7669-109c-74f1-2bb8baa6e321
Code ID: 606747fb69769c1074f12bb8baa6e321
Arch: arm64
Contained debug information:
> symtab, debug
Usable: yes
Right now symbolication only works for Android, iOS/macOS, and Flutter web.
To make that work, we'd need to be able to collect the list of loaded images for pure Dart apps as well, on Android and iOS/macOS, we get the list directly from the Native SDKs [https://github.com/getsentry/sentry-dart/blob/main/flutter/lib/src/integrations/load_image_list_integration.dart]()
For pure Dart apps running on macOS, Windows, and Linux, we probably have to integrate [https://github.com/getsentry/sentry-native]() first or do it via `ffi`.
Relates to [https://github.com/getsentry/sentry-dart/issues/433]()
Contributor guide
Assessment
This issue has not been assessed yet.