I'm developing a Flutter application on Windows, and everything works perfectly in debug mode. However, when I switch to release mode, I encounter multiple issues, particularly with the UI rendering in specific contexts.
The codebase is quite complex, and I'd like to set breakpoints in release mode to better understand and resolve these errors. Unfortunately, Flutter doesn't seem to provide an easy way to debug the release build by default. I attempted modifying the CMakeLists.txt file to enable debug symbols, but it didn't work as expected.
Could someone guide me on how to enable debugging (including breakpoints) for a Flutter release build on Windows? Any tips on how to troubleshoot and fix these issues in release mode would be greatly appreciated.