flutter/packages/flutter_tools
sjindel-google 5501a1c1e7
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").
2019-07-16 19:15:15 +02:00
..
bin more ui-as-code (#35393) 2019-07-02 21:11:56 +02:00
doc Add emulatorID field to devices in daemon (#34794) 2019-06-26 16:39:23 +01:00
gradle Ensures flutter jar is added to all build types on plugin projects (#34573) 2019-06-25 10:40:55 -07:00
ide_templates/intellij Add actions and keyboard shortcut map support (#33298) 2019-06-04 11:30:24 -07:00
lib Keep LLDB connection to iOS device alive while running from CLI. (#36194) 2019-07-16 19:15:15 +02:00
schema Adds support for generating projects that use AndroidX support libraries (#31028) 2019-05-31 18:33:02 -07:00
static Reland support flutter test on platform chrome (#33859) 2019-06-05 15:27:49 -07:00
templates [ImgBot] Optimize images (#35971) 2019-07-11 21:16:48 -07:00
test Keep LLDB connection to iOS device alive while running from CLI. (#36194) 2019-07-16 19:15:15 +02:00
tool Don't pause on tool tests (#35657) 2019-07-08 13:14:48 -07:00
analysis_options.yaml refactor context to be implicit-downcast safe (#31622) 2019-04-25 15:51:08 -07:00
BUILD.gn Add a real-er web restart, doctor, workflow (#33786) 2019-06-03 23:19:42 -07:00
build.yaml Reland support flutter test on platform chrome (#33859) 2019-06-05 15:27:49 -07:00
dart_test.yaml use pub run for create test and remove [INFO] logs (#35839) 2019-07-10 08:48:01 -07:00
pubspec.yaml Add initial implementation of flutter assemble (#32816) 2019-07-11 16:53:17 -07:00
README.md Slight doc change (#24526) 2018-11-19 09:11:40 -08:00

Flutter Tools

Developer tools for building Flutter applications.

Be sure to follow the instructions on CONTRIBUTING.md to setup.

To run the tests, ensure that no devices are connected, then navigate to flutter_tools and execute:

../../bin/cache/dart-sdk/bin/pub run test