Debugging Flutter apps

DevTools

Setting breakpoints

The Dart analyzer

Logging

Debugging application layers

Debug mode assertions

Debugging animations

Measuring app startup time

Tracing Dart code

Performance overlay

Debug flags

Common problems

“Too many open files” exception (MacOS)
Widgets marked const that should be equal to each other, aren’t

Other resources

There’s a wide variety of tools and features to help debug
Flutter applications. Here are some of the available tools:

DevTools, a suite of performance and profiling
tools that run in a browser.