diff --git a/dwds/lib/src/debugging/inspector.dart b/dwds/lib/src/debugging/inspector.dart index a0c543756..d727035b4 100644 --- a/dwds/lib/src/debugging/inspector.dart +++ b/dwds/lib/src/debugging/inspector.dart @@ -362,7 +362,7 @@ class AppInspector implements AppInspectorInterface { } @override - Future getObject(String objectId, {int? offset, int? count}) async { + Future getObject(String objectId, {int? offset, int? count}) async { try { final library = await getLibrary(objectId); if (library != null) { @@ -389,17 +389,22 @@ class AppInspector implements AppInspectorInterface { 'are supported for getObject'); } - Future _getScript(ScriptRef scriptRef) async { - final libraryId = _scriptIdToLibraryId[scriptRef.id]; - final scriptUri = scriptRef.uri; + Future