-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Debugging Rust code #65
Comments
I do not think this is possible as the rust code is loaded via a lib into the flutter app. |
That's what I went with in the end. I also implemented a logging "framework" that sends data to Dart for printing them out to the console. While I do love working with Rust and Flutter, I'm happy that the RID part is over. Looking back, it's bitter sweet experience, great on one hand, but then a bug would cause me to lose a day. (Not going to mention that I spawned few isolates and spent about a week debugging why store wasn't updating... (It's because each isolate spawned its own Store, which kinda worked, but not really.)) I really appreciate RID, as it saved us tons of time and effort that would've gone into porting our Rust lib to Dart. |
Sorry you ran into these issues. Does this mean you won't reach for rid in the future? You could also include that in the post so others can make a good decision for themselves. |
I will reach for RID in the future, just not for a project this massive. About the blog. |
Is there a way to debug both Rust and Dart code at the same time?
Rust, for example does support FFI debugging when it's loading in a native library.
I'm wondering what has to be done to enable the Rust debugging while Dart/Flutter project is running.
The text was updated successfully, but these errors were encountered: