-
Notifications
You must be signed in to change notification settings - Fork 34.1k
Closed
Labels
debugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityRequest for new features or functionality
Milestone
Description
Currently large data structures (Array, Map, Set) are broken into "chunks" in the debug adapter. Potentially this results in lots of duplication.
This feature request asks for doing this in the VS Code debugger UI once and for all.
An implementation sketch:
- if a variable, scope, or evaluate result has a
totalCount
attribute, check whether its value is larger than some (configurable) threshold. - if yes then insert intermediate variable nodes between the parent and the children so that every node covers the range 0..threshold-1. Show this range as the label of the intermediate node.
- if an intermediate node is expanded, fetch only the corresponding range of children via the
variablesRequest
and the newstart
andcount
arguments. - return a value of true for the
supportsVariablePaging
capability to indicate that the UI handles variable paging.
The corresponding protocol addition: microsoft/vscode-debugadapter-node#31
Metadata
Metadata
Assignees
Labels
debugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityRequest for new features or functionality