-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-Debugger-monoenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additions
Milestone
Description
var list = new List<string>();
var a = "test";
list.Add(a);
Items is DebuggerRootHidden, so I think it should not show.
runtime/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/ICollectionDebugView.cs
Line 19 in 215b39a
| [DebuggerBrowsable(DebuggerBrowsableState.RootHidden)] |
When fixed, remove else block from:
runtime/src/mono/wasm/debugger/BrowserDebugProxy/MemberObjectsExplorer.cs
Lines 149 to 161 in 8064bfe
| else | |
| { | |
| // a collection - expose elements to be of array scheme | |
| var memberNamedItems = members | |
| .Where(m => m["name"]?.Value<string>() == "Items" || m["name"]?.Value<string>() == "_items") | |
| .FirstOrDefault(); | |
| if (memberNamedItems is not null && | |
| (DotnetObjectId.TryParse(memberNamedItems["value"]?["objectId"]?.Value<string>(), out DotnetObjectId itemsObjectId)) && | |
| itemsObjectId.Scheme == "array") | |
| { | |
| rootObjectId = itemsObjectId; | |
| } | |
| } |
Metadata
Metadata
Assignees
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-Debugger-monoenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additions

