Closed
Description
When running an app on the iOS Simulator in debug mode (eg. flutter run --start-paused
), the app is not terminated on the device when you stop (send an app.stop
request). This happens even if the app is not paused at the time.
To repro:
- Open a Flutter app in Android Studio or VS Code (both have same behaviour)
- Run the app on iOS Simulator) without debugging ("Start without debugging" in VS Code, or the green triangle run button in Android Studio)
- After the app appears, click the Stop Debugging button
- Note that the app closes on the Simulator
- Re-run the app with debugging (the bug icon in Android Studio, or Start Debugging in VS Code)
- After the app appears, click the Stop Debugging button
- Note that the app remains open in the simulator
Looking at the logs in VS Code, the --start-paused
flag is the only thing I can see that's difference in these cases, so I think something it's doing is changing the behaviour when app.stop
is sent.
(moved from Dart-Code/Dart-Code#2291)
Metadata
Metadata
Assignees
Labels
Important issues not at the top of the work listDebugging, breakpoints, expression evaluationFound to occur in 3.0Found to occur in 3.1The issue has been confirmed reproducible and is ready to work oniOS applications specificallyIssue is closed as already fixed in a newer versionAffects the "flutter" command-line tool. See also t: labels.