Large lists in locals/watch windows can hang #4204
Labels
in debugger
Relates to the debug adapter or process of launching a debug session
is bug
relies on sdk changes
Something that requires changes in the Dart/Flutter SDK to ship before it will become available
Milestone
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 aUint8List
complicates things, but a normal List (List.filled(100000000, 0)
) has issues too.For
Uint8List
thekind
isUint8List
but 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).The text was updated successfully, but these errors were encountered: