flutter/packages/flutter_tools/test/general.shard/dap
Danny Tuppeny dc4541fa05
[flutter_tools] Add support for vmServiceFileInfo when attaching (#128503)
When building the new SDK DAPs, this functionality was missed from the Flutter adapter (but added to the Dart CLI adapter).

As well as passing a VM Service URI directly, we support passing a file that can be polled for it.

This uses the same mechanism we use to obtain the VM Service URI from a Dart debug session (we run `dart --write-service-info=foo.json my_file.dart` and then poll that file which the VM will write) and is useful for users that have their own mechanism for launching an app (for example using custom Flutter embedders - see https://github.com/Dart-Code/Dart-Code/issues/3353) to provide a VM Service URI once the app is up and running.

Fixes https://github.com/Dart-Code/Dart-Code/issues/4577.
2023-06-16 18:00:21 +00:00
..
flutter_adapter_test.dart [flutter_tools] Add support for vmServiceFileInfo when attaching (#128503) 2023-06-16 18:00:21 +00:00
flutter_test_adapter_test.dart [flutter_tools] [dap] Add support for passing env variables to spawned processes (#107415) 2022-07-12 10:04:08 +01:00
mocks.dart [flutter_tools] Include mode in app.start event, and forward app.start to DAP clients (#121239) 2023-04-05 05:39:09 +00:00