[dap] Don't use --start-paused when running in Profile/Release mode#98926
Merged
fluttergithubbot merged 8 commits intoflutter:masterfrom Feb 25, 2022
DanTup:no-debug-for-release-profile
Merged
[dap] Don't use --start-paused when running in Profile/Release mode#98926fluttergithubbot merged 8 commits intoflutter:masterfrom DanTup:no-debug-for-release-profile
fluttergithubbot merged 8 commits intoflutter:masterfrom
DanTup:no-debug-for-release-profile
Conversation
Contributor
There was a problem hiding this comment.
nit. this sentence is awkward. should it be "This is always true for attach requests."?
Contributor
Author
There was a problem hiding this comment.
Oops! Awkward is an understatement 😄 Fixed!
Contributor
Author
|
@christopherfujino there doesn't seem to be much info about the failure here: https://ci.chromium.org/ui/p/flutter/builders/try/Mac%20framework_tests_misc/13487/overview |
Contributor
I'm guessing this was an infra failure, the swarming task page just says "bot died" https://chromium-swarm.appspot.com/task?id=593f4101f7b6cb10&o=true&w=true |
christopherfujino
approved these changes
Feb 24, 2022
Contributor
christopherfujino
left a comment
There was a problem hiding this comment.
LGTM. the analysis error will be fixed by rebasing upstream.
This fixes the issue at Dart-Code/Dart-Code#3838 in the SDK DAP server (mirroring a fix made in the legacy Dart-Code DAP server).
This reverts commit 6ec5e51b7c9a5139772e5bb3b8e5b6081783227d.
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Feb 25, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 25, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Feb 25, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 25, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Feb 25, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Feb 25, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 27, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 27, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 27, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 28, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 28, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 28, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 28, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 28, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 28, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 28, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 28, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 28, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 28, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 28, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Feb 28, 2022
clocksmith
pushed a commit
to clocksmith/flutter
that referenced
this pull request
Mar 8, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change mirrors a fix made in the legacy VS Code extension DAP for Dart-Code/Dart-Code#3838.
The issue is that we were using
--start-pausedin profile mode which would cause a short delay when new isolates were spawned (because they would start paused and wait for us to unpause them). For some measurements of time (including a simple stopwatch) this could make code that uses isolates appear to be slower than it really is.There was no need to use
--start-pausedfor profile mode since debugging functionality is disabled (so we are not concerned about races in setting up breakpoints, etc.) so this simple skips it in those cases.Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.