Only use LLDB breakpoint in debug mode#185158
Merged
auto-submit[bot] merged 10 commits intoApr 17, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request modifies the iOS app launching and LLDB attachment logic to support different build modes. It introduces conditional breakpoint setting and adjusts log pattern matching during process resumption based on whether the build is in debug or profile mode. A review comment identifies an incomplete test case for profile mode in lldb_test.dart that is missing necessary assertions and a closing brace, which would result in a compilation error.
okorohelijah
approved these changes
Apr 17, 2026
okorohelijah
left a comment
Contributor
There was a problem hiding this comment.
LGTM overall. Thanks Victoria!
| final Future<String> futureLog = _startWaitingForLog( | ||
| _lldbProcessResuming, | ||
| // When using debug mode, a breakpoint is added once the process resumes and no resume log | ||
| // is shown. Instead we match on the breakpoint added log. In profile mode, a resume log is |
Contributor
There was a problem hiding this comment.
nit: I think the comment can be a bit confusing
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 18, 2026
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 18, 2026
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 19, 2026
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Apr 19, 2026
auto-submit Bot
pushed a commit
to flutter/packages
that referenced
this pull request
Apr 20, 2026
flutter/flutter@8e8a194...2844af6 2026-04-19 [email protected] Roll Fuchsia Linux SDK from bWoigpGIb60B6C7hD... to aDbXQm6WA0wFCAUp-... (flutter/flutter#185253) 2026-04-18 [email protected] Roll Fuchsia Linux SDK from di3JdYrdE9OFu8Iyl... to bWoigpGIb60B6C7hD... (flutter/flutter#185231) 2026-04-18 [email protected] Fix: text selection context menu should reappear after a non-fling scroll on Android and iOS (flutter/flutter#185054) 2026-04-18 [email protected] Rect constructors for circle bounds (MakeCircle/EllipseBounds) (flutter/flutter#185110) 2026-04-17 [email protected] Change uber SDF to get pixel size (for AA) using euclidean distance rather than manhattan distance. (flutter/flutter#184984) 2026-04-17 [email protected] Roll Dart SDK from 7c2564c18770 to 9648f446f131 (7 revisions) (flutter/flutter#185223) 2026-04-17 [email protected] Rewrites no-response workflow to work with pr as well (flutter/flutter#185163) 2026-04-17 [email protected] Only use LLDB breakpoint in debug mode (flutter/flutter#185158) 2026-04-17 [email protected] add playground to test SDF primitive rendering under transforms (flutter/flutter#185010) 2026-04-17 [email protected] Adds sdf rrects (and fixes opacity + color source) (flutter/flutter#184999) 2026-04-17 [email protected] Implementation of popup windows for Win32 (flutter/flutter#184516) 2026-04-17 [email protected] Roll Fuchsia Test Scripts from R2EllDf4DgBXVNuiN... to dQ4PjIJB5kZFU8Y32... (flutter/flutter#185207) 2026-04-17 [email protected] [iOS] Update previousCompositionOrder to return Obj-C type (flutter/flutter#185136) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
creatorpiyush
pushed a commit
to creatorpiyush/packages
that referenced
this pull request
Jun 10, 2026
…r#11531) flutter/flutter@8e8a194...2844af6 2026-04-19 [email protected] Roll Fuchsia Linux SDK from bWoigpGIb60B6C7hD... to aDbXQm6WA0wFCAUp-... (flutter/flutter#185253) 2026-04-18 [email protected] Roll Fuchsia Linux SDK from di3JdYrdE9OFu8Iyl... to bWoigpGIb60B6C7hD... (flutter/flutter#185231) 2026-04-18 [email protected] Fix: text selection context menu should reappear after a non-fling scroll on Android and iOS (flutter/flutter#185054) 2026-04-18 [email protected] Rect constructors for circle bounds (MakeCircle/EllipseBounds) (flutter/flutter#185110) 2026-04-17 [email protected] Change uber SDF to get pixel size (for AA) using euclidean distance rather than manhattan distance. (flutter/flutter#184984) 2026-04-17 [email protected] Roll Dart SDK from 7c2564c18770 to 9648f446f131 (7 revisions) (flutter/flutter#185223) 2026-04-17 [email protected] Rewrites no-response workflow to work with pr as well (flutter/flutter#185163) 2026-04-17 [email protected] Only use LLDB breakpoint in debug mode (flutter/flutter#185158) 2026-04-17 [email protected] add playground to test SDF primitive rendering under transforms (flutter/flutter#185010) 2026-04-17 [email protected] Adds sdf rrects (and fixes opacity + color source) (flutter/flutter#184999) 2026-04-17 [email protected] Implementation of popup windows for Win32 (flutter/flutter#184516) 2026-04-17 [email protected] Roll Fuchsia Test Scripts from R2EllDf4DgBXVNuiN... to dQ4PjIJB5kZFU8Y32... (flutter/flutter#185207) 2026-04-17 [email protected] [iOS] Update previousCompositionOrder to return Obj-C type (flutter/flutter#185136) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
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.
The JIT breakpoint workaround is only needed and only enabled on the Dart side in debug mode. When running
--profilemode, the breakpoint is never set and therefore causes the process to hang.This PR skips the JIT breakpoint workaround for profile mode.
Fixes #185150.
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.
If this change needs to override an active code freeze, provide a comment explaining why. The code freeze workflow can be overridden by code reviewers. See pinned issues for any active code freezes with guidance.
Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the
gemini-code-assistbot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.