Skip to content

Commit

Permalink
Fix getProperties invocation passing length for all objects. (#2480)
Browse files Browse the repository at this point in the history
Co-authored-by: Nate Biggs <[email protected]>
  • Loading branch information
biggs0125 and natebiggs authored Aug 15, 2024
1 parent a995a59 commit 45df1cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dwds/lib/src/debugging/instance.dart
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,9 @@ class InstanceHelper extends Domain {
objectId,
offset: offset,
count: count,
length: metaData.length,
length: metaData.kind != InstanceKind.kPlainInstance
? metaData.length
: null,
);

final dartProperties = await _dartFieldsFor(properties, remoteObject);
Expand Down

0 comments on commit 45df1cc

Please sign in to comment.