Open
Description
In VS Code's debug adapter and the new SDK DAP implementation, there is a setting that allows showing values of getters in debug tooltips/watch window/etc.. This works by walking up the class hierarchy getting all of the names of any getters at each level and then sending evaluate requests for each.
This code seems fragile and involves looking at an internal field to identify the getters (f.json?['_kind'] == 'GetterFunction'
). It would be better to have a more official way to do this (and perhaps in a single request).
sdk/pkg/dds/lib/src/dap/protocol_converter.dart
Lines 444 to 475 in 248e943
@bkonyi (I think @jacob314 may also have been interested in this?)