- 31 Jul, 2023 1 commit
-
-
Danny Tuppeny authored
In the legacy VS Code DAP, we would deserialise the Flutter.Error event and provide some basic colouring (eg. stack frames are faded if not from user code and the text is split between stdout/stderr to allow the client to colour it). In the new DAPs we originally used `renderedErrorText` which didn't support either of these. This change adds changes to use the structured data (with some basic parsing because the source classes are in package:flutter and not accessible here) to provide a similar experience. It would be nicer if we could use the real underlying Flutter classes for this deserialisation, but extracting them from `package:flutter` and removing all dependencies on Flutter is a much larger job and I don't think should hold up providing improved error formatting for the new DAPs. Some comparisons:  
-
- 16 Jun, 2023 1 commit
-
-
Danny Tuppeny authored
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.
-
- 09 Jan, 2023 1 commit
-
-
Helin Shiah authored
-
- 29 Sep, 2022 1 commit
-
-
Danny Tuppeny authored
-
- 12 Jul, 2022 1 commit
-
-
Danny Tuppeny authored
* [flutter_tools] [dap] Add support for passing env variables to spawned processes * Use named args * Use in-memory fs and FakePlatform * Pass filesystem style to MemoryFileSystem
-
- 31 Mar, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 07 Feb, 2022 1 commit
-
-
Danny Tuppeny authored
* Add support for attachRequest in DAP, which runs "flutter attach" * Update DAP docs for attachRequest * Improve doc comments * Fix comments * Remove noDebug from attach + create a getter for `debug` * Fix indent
-
- 15 Dec, 2021 1 commit
-
-
Danny Tuppeny authored
-
- 27 Oct, 2021 1 commit
-
-
Danny Tuppeny authored
-