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
Show more detailed Flutter build progress #4938
Comments
Not currently on Mac, but it seems like we might have a bug here with some progress not showing up. If I run
In the output I see some output like:
I suspect the same might be true on Mac. However, this output does not seem to show up in either the notification toast or the Debug Console. First job is fixing that. If it's still not enough progress, we might need changes in Flutter to report more detailed progress. |
Where would this show up? Would it be in the Debug Console (preferably), or only in the terminal? |
When this issue is fixed, the output should be visible in the Debug Console (and possibly the toast notification during builds). I was using the terminal with the |
Would this work if you used the |
Yes, that's exactly the case that needs fixing :) I was only using the terminal as a way for testing the output - the bug here (and the fix) is unrelated to the terminal. The debugger (when you click Run or Debug) internally runs |
Got it, thanks for the clarification ;) |
Builds can be slow and the legacy debug adapter would handle Flutter's `app.progress` events to update the toast notification during builds. This was lost in the new adapters - we should only a single "Launching.." notification for the whole progress. This change listens to `app.progress` events and forwards those with `finished=false` to the client if the launch progress is still active. Fixes Dart-Code/Dart-Code#4938
Turns out we weren't forwarding these events from the debug adapter to the client so the fix is actually in Flutter. I've opened flutter/flutter#142524 and once merged the fix will ship in a future Flutter SDK release. |
Okay, thanks |
Yay 😃 ! |
The Issue
Currently, you are only told when an application has finished building.
Describe the solution you'd like
It would be much more useful to see the current build progress (like in Xcode).
Additional context
Ideally, this should also show the build phase, and the current completion (e.g.
Building: 73% - 27 / 37
)The text was updated successfully, but these errors were encountered: