Replies: 3 comments 3 replies
-
Looking forward others to answer this, since I myself do not use debug (but use logging) when I want to see bugs in my code. |
Beta Was this translation helpful? Give feedback.
-
This worked for me: [target.'cfg(target_os="android")'.dependencies]
android_logger = "0.11.1" Along with the usual |
Beta Was this translation helpful? Give feedback.
-
Not Android, but I found that for the Linux target that (after running Android Studio also has the ability to attach to running processes on a device, so I opened the android folder and gave it a try. It was able to attach to the JVM debugger, but when I tried to force native debugging it would show If I were to hazard a guess, it doesn't know how to find the Rust code. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm using flutter_rust_bridge to work on an application that I'm primarily testing on Android, and using Visual Studio Code for debugging the Flutter parts. I'm wondering if there's a way to debug the Rust parts invoked by Flutter in the same dev environment. Barring that, is there a way to debug the rust code in any of the other environments, e.g. Linux or Windows, Android Studio or GDB? Thanks for any advice.
Beta Was this translation helpful? Give feedback.
All reactions