Skip to content
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 DAP variable paging #1179

Open
roblourens opened this issue Jan 19, 2023 · 1 comment
Open

Support DAP variable paging #1179

roblourens opened this issue Jan 19, 2023 · 1 comment
Labels
enhancement New feature or request P1

Comments

@roblourens
Copy link
Member

DAP has some built-in mechanism for paging. Variables return their child count in indexedVariables and namedVariables. And the variables request includes a start and count. This lets vscode implement a paging UI that looks like this for js

image

It looks like debugpy has implemented its own similar mechanism, but then it doesn't let me explore the full array

image

Is it possible to implement this in debugpy using the properties for paging?

@int19h
Copy link
Contributor

int19h commented Jan 19, 2023

IIRC we did it that way because paging wasn't consistently used by the clients. If this works in both VS and VSCode now, we should just move to that by default. If not, it'll probably need to be under a feature flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P1
Projects
None yet
Development

No branches or pull requests

3 participants