-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: debuggingDebugging, breakpoints, expression evaluationDebugging, breakpoints, expression evaluationfound in release: 3.0Found to occur in 3.0Found to occur in 3.0found in release: 3.1Found to occur in 3.1Found to occur in 3.1has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specificallyiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
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
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: debuggingDebugging, breakpoints, expression evaluationDebugging, breakpoints, expression evaluationfound in release: 3.0Found to occur in 3.0Found to occur in 3.0found in release: 3.1Found to occur in 3.1Found to occur in 3.1has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specificallyiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.