Skip to content

Commit a1bc0f3

Browse files
authored
[wasm][debugger] Fix incompatibility between runtime and nuget package (#66295)
* Fix incompatibility between runtime and nuget package * Update debug.ts
1 parent 15db6e0 commit a1bc0f3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/mono/wasm/runtime/debug.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ export function mono_wasm_get_loaded_files(): string[] {
149149
function _create_proxy_from_object_id(objectId: string, details: any) {
150150
if (objectId.startsWith("dotnet:array:")) {
151151
let ret: Array<any>;
152+
if (details.items === undefined) {
153+
ret = details.map ((p: any) => p.value);
154+
return ret;
155+
}
152156
if (details.dimensionsDetails === undefined || details.dimensionsDetails.length === 1) {
153157
ret = details.items.map((p: any) => p.value);
154158
return ret;

0 commit comments

Comments
 (0)