-
Notifications
You must be signed in to change notification settings - Fork 340
Large lists in locals/watch windows can hang #4204
Copy link
Copy link
Closed
Labels
in debuggingRelates to the debug adapter or process of running debug sessionsRelates to the debug adapter or process of running debug sessionsis bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
Milestone
Metadata
Metadata
Assignees
Labels
in debuggingRelates to the debug adapter or process of running debug sessionsRelates to the debug adapter or process of running debug sessionsis bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
Reported on StackOverflow: https://stackoverflow.com/q/73921614/25124
We send a
getObject()request but there's no offset/length s presumably it's trying to send the entire list back which is huge. It's possible being aUint8Listcomplicates things, but a normal List (List.filled(100000000, 0)) has issues too.For
Uint8ListthekindisUint8Listbut it still has a length, and the kinds that provide lists are documented in https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md#instance (string, map, and various lists).