Danny Tuppeny
c67d2587d5
Provide more useful error message if a non-compliant DAP tool (or user) sends bad input to DAP server ( #107827 )
2022-07-19 11:48:05 -07:00
Danny Tuppeny
e2ef8cfe44
Pass app.started events to the DAP client + dart.debuggerUris for Profile mode ( #106337 )
2022-06-21 12:09:06 -07:00
Danny Tuppeny
147020366a
Fix issues running integration tests through DAP debug adapter ( #104618 )
...
* Fix issues running integration tests through DAP
These adapters were incorrectly trying to connect a DDS instance even when Flutter would create its own. This change disables DDS in the DAP layer and leaves it to Flutter (although it passes `--no-dds` on to Flutter if provided to the DAP process).
Also fixes an issue where we would unnecessarily connect the VM Service for tests even in 'noDebug' mode because of a change/fix that now includes a 'vmServiceUri' in the `test.startedProcess` event.
2022-05-26 09:36:30 +01:00
Michael Goderbauer
3fa355c97d
Remove dead code in tools tests ( #104567 )
2022-05-25 12:48:17 -07:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Danny Tuppeny
675b961573
Unpause and remove breakpoints when detaching from Flutter process with DAP ( #101695 )
2022-04-11 21:15:37 +01:00
Michael Goderbauer
a01424773e
Enable unnecessary_import ( #101600 )
2022-04-08 12:56:45 -07:00
Danny Tuppeny
b39a9473f8
Handle Flutter.Error events and disable structure errors for noDebug mode ( #100149 )
2022-03-17 16:05:21 -07:00
Danny Tuppeny
c659ad6ace
Add support for attachRequest in DAP, running "flutter attach" ( #97652 )
...
* 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
2022-02-07 18:54:07 +00:00
Lau Ching Jun
d7688ca093
Change all instance of throwing strings to throw specific error classes. ( #97325 )
2022-02-02 10:45:18 -08:00
Caio Agiani
29b44f79d9
packages: fix typos recieve => receive ( #97488 )
2022-01-31 08:43:15 -08:00
Danny Tuppeny
4fa0e0d449
Make DAP tests more tolerant of output that didn't come from the app being tested ( #97291 )
...
Fixes #97238 .
2022-01-29 10:03:31 +00:00
Danny Tuppeny
942de67838
Make remaining DAP tests null-safe ( #97368 )
2022-01-27 20:08:17 +00:00
Michael Goderbauer
5684b9f69e
Enable no_leading_underscores_for_local_identifiers ( #96422 )
2022-01-21 14:43:59 -08:00
Danny Tuppeny
b865e23aeb
Don't treat stderr output as failures during DAP test teardown ( #94335 )
2021-12-01 07:19:04 -08:00
Nate Bosch
6d1a840bc5
Roll packages, remove unnecessary overrides ( #94172 )
2021-11-24 14:43:05 -08:00
Danny Tuppeny
77fca35877
[DAP] Add a custom event to pass flutter.serviceExtensionStateChanged… ( #93870 )
2021-11-22 20:12:33 -08:00
Danny Tuppeny
99e85b1c5f
Disable pause-on-exceptions for (outgoing) isolates during hot restart ( #93411 )
2021-11-18 22:23:09 -08:00
Jenn Magder
9e88fe328e
Remove globals_null_migrated.dart, move into globals.dart ( #92861 )
2021-11-01 17:18:03 -07:00
Danny Tuppeny
57dbf7f7e7
Add support for running tests through debug-adapter ( #92587 )
...
* Add support for running tests through debug-adapter
* Improve comments about stdout + remove pedantic
2021-10-28 11:34:05 +01:00
Danny Tuppeny
de966d8a49
Add a "flutter debug_adapter" command that runs a DAP server ( #91802 )
2021-10-27 06:48:06 -07:00