• sjindel-google's avatar
    Keep LLDB connection to iOS device alive while running from CLI. (#36194) · 5501a1c1
    sjindel-google authored
    ## 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").
    5501a1c1
Name
Last commit
Last update
..
android Loading commit data...
base Loading commit data...
build_runner Loading commit data...
build_system Loading commit data...
commands Loading commit data...
dart Loading commit data...
fuchsia Loading commit data...
intellij Loading commit data...
ios Loading commit data...
linux Loading commit data...
macos Loading commit data...
runner Loading commit data...
tester Loading commit data...
web Loading commit data...
windows Loading commit data...
analytics_test.dart Loading commit data...
application_package_test.dart Loading commit data...
artifacts_test.dart Loading commit data...
asset_bundle_package_fonts_test.dart Loading commit data...
asset_bundle_package_test.dart Loading commit data...
asset_bundle_test.dart Loading commit data...
asset_bundle_variant_test.dart Loading commit data...
asset_test.dart Loading commit data...
base_utils_test.dart Loading commit data...
bug_report_test.dart Loading commit data...
build_info_test.dart Loading commit data...
cache_test.dart Loading commit data...
channel_test.dart Loading commit data...
compile_test.dart Loading commit data...
config_test.dart Loading commit data...
coverage_collector_test.dart Loading commit data...
crash_reporting_test.dart Loading commit data...
devfs_test.dart Loading commit data...
device_test.dart Loading commit data...
emulator_test.dart Loading commit data...
flutter_manifest_test.dart Loading commit data...
flutter_platform_test.dart Loading commit data...
forbidden_imports_test.dart Loading commit data...
hot_test.dart Loading commit data...
project_file_invalidator_test.dart Loading commit data...
project_test.dart Loading commit data...
protocol_discovery_test.dart Loading commit data...
resident_runner_test.dart Loading commit data...
terminal_handler_test.dart Loading commit data...
test_compiler_test.dart Loading commit data...
testbed_test.dart Loading commit data...
time_test.dart Loading commit data...
utils_test.dart Loading commit data...
version_test.dart Loading commit data...
vmservice_test.dart Loading commit data...