-
Notifications
You must be signed in to change notification settings - Fork 29.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support variable paging (aka chunked arrays) #9537
Comments
Speaking of debugging Maps, Sets, etc.. actually viewing the values is huge a pain in the ass, you have to expand through like 4 levels to actually see it's data. Really time consuming when jumping from frame to frame! How about something where when you expand the node of a Set/Map/etc object, its members are displayed as usual, but after those, there's a new "virtual* node which is collapsed. We could italicize, name it something like I'm going to think more on this.. maybe submit a proposal. |
@rozzzly when you are talking about '4 levels' you are not talking about VS Code, right? I don't understand how your virtual node would improve this. |
@weinand I have pushed the changes on the vscode side and I think it is in a good shape. I tried using it with the node adapter and I nicely get the |
@isidorn I have changed the property name to |
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:
totalCount
attribute, check whether its value is larger than some (configurable) threshold.variablesRequest
and the newstart
andcount
arguments.supportsVariablePaging
capability to indicate that the UI handles variable paging.The corresponding protocol addition: microsoft/vscode-debugadapter-node#31
The text was updated successfully, but these errors were encountered: