-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
Support split-debug-info
for Flutter Desktop (Linux and Windows)
#433
Comments
split-debug-info
and obfuscate
for Flutter Desktopsplit-debug-info
and obfuscate
for Flutter Desktop
let's add the windows/macos/linux support to this script https://github.com/getsentry/sentry-dart/blob/main/flutter/example/run.sh the way of uploading debug files is the same as iOS/Android -> https://github.com/getsentry/sentry-dart/blob/main/flutter/example/run.sh#L58-L60 we need to see if frames are symbolicated, file/function names are available and line number is also correct. I believe macOS won't work if Flutter has the same format as iOS debug files, but let's try. @bruno-garcia you may need to help us on Windows, would you be willing to do so? :) |
Didn't seem to work: https://sentry.io/organizations/sentry-sdks/issues/2367778946/?project=5428562&query=is%3Aunresolved We would need to add the debug_meta with the DLL's build_id of sorts. @jan-auer might have pointers. |
indeed, we'd need to install the macOS requires that too, so Sentry Cocoa needs to expose a way of getting the debug image list. |
split-debug-info
and obfuscate
for Flutter Desktopsplit-debug-info
and obfuscate
for Flutter Desktop
The Flutter docs state that |
Makes it easier. On Windows and Linux we only need to bundle |
I'm not involved directly so I don't think this is planned to be honest, but I'm sure we're happy to get contributions if folks want to get support. @kahest will know what's going on |
Just to confirm @kahest is this something that will only be supported with outside contributions or is this something that the Sentry team plans on supporting? |
Hey @Ghelwig - we're interested in supporting this, but currently don't have the bandwidth internally. We're happy to work with folks interested in contributing! |
We would really love to see support for |
@JesseRiemens what is your use-case for |
We use Yocto with meta-flutter, in a kiosk-like touch screen application. It uses a custom embedder, flutter-pi. We have now resorted to not obfuscating release builds, as a sort of middle ground. Do you need a more concrete example? I reckon I could set up a MWE repo if that's needed. Does it require a new issue? This is Linux after all :) |
A repository with a minimal repro would go a long way towards getting this working - it may be a simple change in the SDK or the |
Do you have experience / access to a raspberry pi? I think it would be able to do it with that. |
I do have a pi zero lying around somewhere... |
We need to test
split-debug-info
andobfuscate
on macOSsplit-debug-info
andobfuscate
on Linuxsplit-debug-info
andobfuscate
on WindowsThose options have not been tested. They might require changes in the SDK and/or on the server.
It could be that they already work, and in this case we don't need to do anything.
We need to update the docs after this has been tested.
The text was updated successfully, but these errors were encountered: