• 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
..
build.dart Loading commit data...
common.dart Loading commit data...
config.dart Loading commit data...
context.dart Loading commit data...
file_system.dart Loading commit data...
fingerprint.dart Loading commit data...
flags.dart Loading commit data...
io.dart Loading commit data...
logger.dart Loading commit data...
net.dart Loading commit data...
os.dart Loading commit data...
platform.dart Loading commit data...
process.dart Loading commit data...
process_manager.dart Loading commit data...
terminal.dart Loading commit data...
time.dart Loading commit data...
user_messages.dart Loading commit data...
utils.dart Loading commit data...
version.dart Loading commit data...