commit | 0afee277393aab152c3b6945d7b7f9ca23411f39 | [log] [tgz] |
---|---|---|
author | Danny Tuppeny <danny@tuppeny.com> | Thu Jun 22 16:42:52 2023 +0000 |
committer | dart-internal-monorepo <dart-internal-monorepo@dart-ci-internal.iam.gserviceaccount.com> | Thu Jun 22 09:43:29 2023 -0700 |
tree | 4c9e918da09aa84f8d8ca607dc1cebc432f45618 | |
parent | 9b34ad5eaeee07a8f3d8000584de95303de73c42 [diff] |
[dds/dap] Add 'showGettersInDebugViews' which includes getters but lazily The existing 'evaluateGettersInDebugViews' evaluates getters eagerly which can have side-effects. This adds a setting that allows showing getters in a way that can be shown lazily instead. I added a new setting (instead of just making evaluateGettersInDebugViews=false be lazy) to preserve the ability to have getters not shown at all (since some users are using that today and might prefer this over lots of lazy getters showing up). Fixes https://github.com/Dart-Code/Dart-Code/issues/4234 Change-Id: I56c2a7c8f85aa8c4cc85cfb3120a8cfec6b54c70 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/310164 Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Ben Konyi <bkonyi@google.com> https://dart.googlesource.com/sdk/+/194767e452442b26db1a3ceb0ac85005a2a319df