Skip to content

Variable paging still faces performance issues  #9774

Closed
@joaomoreno

Description

@joaomoreno

Testing #9684

const arr = new Array(Math.pow(10, 9));
console.log(arr);
  1. Set breakpoint on line 2.
  2. Start debug
  3. Expand the arr local variable

VS Code will eventually crash. This happens because, I'm guessing, the tree will show 10^7 items in the tree, since the page size is fixed to 100.

Pages should be recursive. Expanding arr, in this case, should show a set maximum number of pages (eg 1000); and each page, when expanded, would contain further pages. Eg:

  • [0...10000]
    • [0...100]
      • 0
      • 1
      • ...
    • [100...200]
      • 100
      • 101
      • ...
    • ...
  • ...

Metadata

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions