commit | 5501a1c1e7d74a088f3fd11d84b5391a02c23918 | [log] [tgz] |
---|---|---|
author | sjindel-google <sjindel@google.com> | Tue Jul 16 19:15:15 2019 +0200 |
committer | GitHub <noreply@github.com> | Tue Jul 16 19:15:15 2019 +0200 |
tree | 071c9e6926ce6403137290ee2c0de3c69cf4a9a0 | |
parent | fa65ddf51d096f775ed0db21a9274d279615ab9d [diff] |
Keep LLDB connection to iOS device alive while running from CLI. (#36194) ## Description Instead of detaching from the spawned App process on the device immediately, keep the LLDB client connection open (in autopilot mode) until the App quits or the server connection is lost. This replicates the behavior of Xcode, which also keeps a debugger attached to the App after launching it. ## Tests This change will be covered by all running benchmarks (which are launched via "flutter run"/"flutter drive"), and probably be covered by all tests as well. I also tested the workflow locally -- including cases where the App or Flutter CLI is terminated first. ## Breaking Change I don't believe this should introduce any breaking changes. The LLDB client automatically exits when the app dies or the device is disconnected, so there shouldn't even be any user-visible changes to the behavior of the tool (besides the output of "-v").
Flutter is Google's mobile app SDK for crafting high-quality native interfaces on iOS and Android in record time. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.
For announcements about new releases and breaking changes, follow the flutter-announce@googlegroups.com mailing list.
We think Flutter will help you create beautiful, fast apps, with a productive, extensible and open development model.
We want to enable designers to deliver their full creative vision without being forced to water it down due to limitations of the underlying framework. Flutter's layered architecture gives you control over every pixel on the screen, and its powerful compositing capabilities let you overlay and animate graphics, video, text and controls without limitation. Flutter includes a full set of widgets that deliver pixel-perfect experiences on both iOS and Android.
Flutter is fast. It's powered by the same hardware-accelerated Skia 2D graphics library that underpins Chrome and Android. We architected Flutter to support glitch-free, jank-free graphics at the native speed of your device. Flutter code is powered by the world-class Dart platform, which enables compilation to native 32-bit and 64-bit ARM code for iOS and Android.
Flutter offers stateful hot reload, allowing you to make changes to your code and see the results instantly without restarting your app or losing its state.
Flutter works with any development tool, but includes editor plug-ins for both Visual Studio Code and IntelliJ / Android Studio. Flutter provides thousands of packages to speed your development, regardless of your target platform. And accessing platform features is easy. Here is a snippet from our interop example:
Future<void> getBatteryLevel() async { var batteryLevel = 'unknown'; try { int result = await methodChannel.invokeMethod('getBatteryLevel'); batteryLevel = 'Battery level: $result%'; } on PlatformException { batteryLevel = 'Failed to get battery level.'; } setState(() { _batteryLevel = batteryLevel; }); }
Flutter is a fully open source project, and we welcome contributions. Information on how to get started can be found at our contributor guide.