Skip to main content

Debugging

Debuggers

Flutter has built-in support for using debuggers. For example, you can run app with breakpoints. Since Rust is nothing but a compiled binary file (e.g. something.so) added to Flutter, all Flutter utilities can be used as normal (for both native and web platform).

Debugging by printing

Just use normal logging to debug - there is nothing special.

As for how to do logging: For Dart, it is print(). For Rust, it is info!() / warn!() / ... after configuring the loggers.