[wasm][debugger] Show actual data for boxed values (#41562)
authorAnkit Jain <radical@gmail.com>
Sat, 5 Sep 2020 02:13:35 +0000 (22:13 -0400)
committerGitHub <noreply@github.com>
Sat, 5 Sep 2020 02:13:35 +0000 (22:13 -0400)
commit4fd87bc4ce9f90bcaf82de3fc5fed18486d54ea6
tree997c06f7c0926bc94f1515e56b649fcbc7301cd7
parent66f4b4b70412da19f1785f57d7ae349febb0cd99
[wasm][debugger] Show actual data for boxed values (#41562)

* [wasm][debugger] Add support for Nullable<T>

Return the value, or null.

Fixes https://github.com/mono/mono/issues/20310

* Address review feedback - merge functions

* [wasm][debugger] run dotnet-format on the debugger test app

* [wasm][debugger] simplify function sig, based on usage

- addresses review feedback from @lewing

* [wasm][debugger] Simplify the function further, based on @lewing's

.. excellent suggestion!

* [wasm][debugger] Show actual data for boxed values

Eg. `object o = "foobar"`

This will show the string `"foobar"`, instead of an object, in the
debugger.
src/mono/mono/mini/mini-wasm-debugger.c
src/mono/wasm/debugger/DebuggerTestSuite/Tests.cs
src/mono/wasm/debugger/tests/debugger-test.cs