Skip to content

Support DAP variable paging #1179

Open
Open

Description

@roblourens

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?

Activity

  1. int19h commented on Jan 19, 2023

    @int19h
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions