-
Notifications
You must be signed in to change notification settings - Fork 29.7k
[flutter_tools] Include mode in app.start event, and forward app.start to DAP clients #121239
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
Conversation
1bd2f52 to
bce1456
Compare
…t to DAP clients This will allow DAP clients to know the final device ID and also the mode an app is running in (something it currently guesses, but may not be accurate). May help with Dart-Code/Dart-Code#4273.
bce1456 to
aca9b10
Compare
…g on Fixes #4273. Also requires flutter/flutter#121239.
packages/flutter_tools/lib/src/debug_adapters/flutter_adapter.dart
Outdated
Show resolved
Hide resolved
christopherfujino
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@christopherfujino could you check what the Google Testing failure is? |
|
auto label is removed for flutter/flutter, pr: 121239, due to - The status or check suite Google testing has failed. Please fix the issues identified (or deflake) before re-applying this label. |
|
The check says to rebase...let's see if we get a valid run now... |
|
I think it just always says that now when the PR is out of date (which is almost always given how often master is commited to). Still, another both run might get lucky if it was an unrelated flake 😄 Thanks! |
I mean the google testing check, I've definitely seen it say either pass or fail this week, even if the branch point is out of date. |
Oh, gotcha! I thought you meant GitHub (it seems to have a button for rebasing much more visibly than it used to), I'm not familiar with the Google Testing stuff. Anyway, looks like it worked - thanks! :-) |
…app.start to DAP clients (flutter/flutter#121239)
…app.start to DAP clients (flutter/flutter#121239)
…t to DAP clients (flutter#121239) [flutter_tools] Include mode in app.start event, and forward app.start to DAP clients
…app.start to DAP clients (flutter/flutter#121239)
…app.start to DAP clients (flutter/flutter#121239)
This will allow DAP clients to know the final device ID and also the mode an app is running in (something it currently guesses, but may not be accurate).
Required to improve some messages in VS Code when trying to open DevTools when running in a mode that doesn't support it (Dart-Code/Dart-Code#4273):
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.