dart-sdk/pkg/dds/test
Danny Tuppeny c4105d35db [dds/dap] Support translating VM Instance IDs -> DAP variablesReferences and back for DAP-over-DDS
This adds two custom requests to the DAP-over-DDS handler to translate between VM/DAP instance IDs:

- $/createVariableForInstance (String isolateId, String instanceId)
- $/getVariablesInstanceId (int variablesReference)

Because DAP's variables request only fetches _child_ variables (eg. fields) but we'd likely want to align the top-level string display of a variable, the wrapped variable will first be returned as a single variable named "value", which contains both the string display value and also a variablesReference to then get the child variables (usually invoked when expanded).

These methods currently live directly in the DDS DAP adapter since I figure they're only useful for clients using the VM Service, but we can move them to the base adapter if in future this turns out to not be the case.

Change-Id: I60f28edd86c3468cc592175cb665557a1fc85056
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/312987
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
2023-07-12 15:04:20 +00:00
..
common [pkg/dds] use package:lints/recommended.yaml 2023-02-21 18:30:23 +00:00
dap [dds/dap] Add some basic global evaluation support 2023-07-11 15:12:41 +00:00
devtools_server [pkg/dds] use package:lints/recommended.yaml 2023-02-21 18:30:23 +00:00
web Reland "[ package:dds ] Add null safety support" 2021-05-24 16:59:23 +00:00
auth_codes_test.dart Reland "[ package:dds ] Add null safety support" 2021-05-24 16:59:23 +00:00
cpu_sample_streaming_test.dart [ VM / Service ] Add support for streaming CPU samples with specific 2021-12-17 00:15:09 +00:00
dap_handler_test.dart [dds/dap] Support translating VM Instance IDs -> DAP variablesReferences and back for DAP-over-DDS 2023-07-12 15:04:20 +00:00
dap_over_dds_script.dart [dds/dap] Support translating VM Instance IDs -> DAP variablesReferences and back for DAP-over-DDS 2023-07-12 15:04:20 +00:00
dds_client_post_event_test.dart Add postEvent to dds client. 2023-06-02 19:07:39 +00:00
devtools_observatory_connection_test.dart [ package:dds ] Migrate devtools_observatory_connection_test to null safety 2022-06-07 14:49:09 +00:00
external_compilation_service_script.dart Reland "[ package:dds ] Add null safety support" 2021-05-24 16:59:23 +00:00
external_compilation_service_test.dart Reland "[ package:dds ] Add null safety support" 2021-05-24 16:59:23 +00:00
external_devtools_instance_test.dart [ package:dds ] Add support for registering external DevTools servers with DDS 2023-01-10 16:03:41 +00:00
get_cached_cpu_samples_script.dart [ VM / Service ] Add support for streaming CPU samples with specific 2021-12-17 00:15:09 +00:00
get_cached_cpu_samples_test.dart [ DDS ] Move package:dds/vm_service_extensions.dart into package:dds_service_extensions 2022-01-10 21:11:33 +00:00
get_perfetto_vm_timeline_test.dart [DDS] Add getPerfettoVMTimelineWithCpuSamples RPC 2023-05-04 20:23:09 +00:00
get_stream_history_script.dart Reland "[ package:dds ] Add null safety support" 2021-05-24 16:59:23 +00:00
get_stream_history_test.dart [ DDS ] Move package:dds/vm_service_extensions.dart into package:dds_service_extensions 2022-01-10 21:11:33 +00:00
handles_client_disconnect_state_error_test.dart Move pkg/dds to package:lints. 2022-04-14 22:44:33 +00:00
handles_connection_closed_before_full_header.dart Reland "[ package:dds ] Add null safety support" 2021-05-24 16:59:23 +00:00
handles_exceptions_in_shelf_handlers.dart [ package:dds ] Silently handle exceptions raised within RPC request 2021-09-01 23:16:07 +00:00
handles_existing_dds_instance_script.dart [dds] Pass existing DDS URI in existingDdsInstance exception 2023-01-18 20:36:07 +00:00
handles_existing_dds_instance_test.dart [dds] Pass existing DDS URI in existingDdsInstance exception 2023-01-18 20:36:07 +00:00
handles_shutdown_before_startup_test.dart [ package:dds ] Prevent invalid DDS instance from being returned after 2021-08-11 23:36:27 +00:00
on_event_with_history_script.dart Reland "[ package:dds ] Add null safety support" 2021-05-24 16:59:23 +00:00
on_event_with_history_test.dart [ DDS ] Move package:dds/vm_service_extensions.dart into package:dds_service_extensions 2022-01-10 21:11:33 +00:00
post_event_custom_stream_script.dart [ VM Service / DDS ] Add custom service stream support (Revised) 2022-12-13 16:31:37 +00:00
post_event_custom_stream_test.dart [ VM Service / DDS ] Add custom service stream support (Revised) 2022-12-13 16:31:37 +00:00
regress_45569_test.dart Reland "[ package:dds ] Add locking when modifying DDS state via client requests" 2021-08-07 15:16:49 +00:00
regress_devtools_issue_3302_test.dart [pkg/dds] use package:lints/recommended.yaml 2023-02-21 18:30:23 +00:00
smoke.dart Reland "[ package:dds ] Add null safety support" 2021-05-24 16:59:23 +00:00
smoke_test.dart Reland "[ package:dds ] Add null safety support" 2021-05-24 16:59:23 +00:00
sse_smoke_test.dart [deps] update package:webdriver 2022-12-01 17:42:21 +00:00
uri_converter_test.dart Make changes for internal debug 2022-07-28 18:30:10 +00:00
uri_test.dart Reland "[ package:dds ] Add null safety support" 2021-05-24 16:59:23 +00:00