mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
![]() 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> |
||
---|---|---|
.. | ||
common | ||
dap | ||
devtools_server | ||
web | ||
auth_codes_test.dart | ||
cpu_sample_streaming_test.dart | ||
dap_handler_test.dart | ||
dap_over_dds_script.dart | ||
dds_client_post_event_test.dart | ||
devtools_observatory_connection_test.dart | ||
external_compilation_service_script.dart | ||
external_compilation_service_test.dart | ||
external_devtools_instance_test.dart | ||
get_cached_cpu_samples_script.dart | ||
get_cached_cpu_samples_test.dart | ||
get_perfetto_vm_timeline_test.dart | ||
get_stream_history_script.dart | ||
get_stream_history_test.dart | ||
handles_client_disconnect_state_error_test.dart | ||
handles_connection_closed_before_full_header.dart | ||
handles_exceptions_in_shelf_handlers.dart | ||
handles_existing_dds_instance_script.dart | ||
handles_existing_dds_instance_test.dart | ||
handles_shutdown_before_startup_test.dart | ||
on_event_with_history_script.dart | ||
on_event_with_history_test.dart | ||
post_event_custom_stream_script.dart | ||
post_event_custom_stream_test.dart | ||
regress_45569_test.dart | ||
regress_devtools_issue_3302_test.dart | ||
smoke.dart | ||
smoke_test.dart | ||
sse_smoke_test.dart | ||
uri_converter_test.dart | ||
uri_test.dart |