dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.25k stars 4.45k forks source link

[wasm][debugger] Support complex expressions with null-condition #69640

Open ilonatommy opened 1 year ago

ilonatommy commented 1 year ago

Complex expressions that use null-conditional operator fail in the debugger. Try to make sure that issue: https://github.com/dotnet/runtime/issues/69639 is fixed first before starting this one.

Add tc?.memberList[0] and similar cases to EvaluateNullObjectPropertiesPositive and some negative cases, e.g. tcNull?.memberListNull[0] to EvaluateNullObjectPropertiesNegative.

ghost commented 1 year ago

Tagging subscribers to this area: @thaystg See info in area-owners.md if you want to be subscribed.

Issue Details
Complex expressions that use null-conditional operator fail in the debugger. Try to make sure that issue: https://github.com/dotnet/runtime/issues/69639 is fixed first before starting this one. Add `tc?.memberList[0]` and similar cases to `EvaluateNullObjectPropertiesPositive` and some negative cases, e.g. `tcNull?.memberListNull[0]` to `EvaluateNullObjectPropertiesNegative`.
Author: ilonatommy
Assignees: ilonatommy
Labels: `arch-wasm`, `area-Debugger-mono`
Milestone: -