[wasm][debugger] Allow invoking property getters for objects (#19726)
commita1b68d97c3ef261f4aeede766e8221dbdf33796e
authorAnkit Jain <radical@gmail.com>
Fri, 22 May 2020 02:38:16 +0000 (21 22:38 -0400)
committerGitHub <noreply@github.com>
Fri, 22 May 2020 02:38:16 +0000 (21 22:38 -0400)
tree9883b6b4d67f9ee4ca5bd679ab003a39c781a53b
parent7490cc0e2b5b88d98587d24820ab5842bed7a535
[wasm][debugger] Allow invoking property getters for objects (#19726)

* [wasm][debugger][tests] Move the test files to `tests/debugger`

- Also, rename `class Math` to `class SampleMath` in `sample.cs`,
to allow building sample.dll, with all the tests added.

(cherry picked from commit dc265710139d7c3a63f714e4b19bdb60014b5bcb)

* [wasm][debugger][tests] Add back missing dependency

(cherry picked from commit 2bc6482bb3049b34da918e2dc91df459774873c9)

* [wasm][debugger][tests] move *datetime-test.cs to `tests/debugger`

(cherry picked from commit 2b43270a42a599fe2bdb460018460e32571bbc79)

* [wasm][debugger][tests] Move CFO test to debugger-cfo-test.cs

(cherry picked from commit aba95ffddad94a613a9a12eaf0dddcc9dd661b58)

* [wasm][debugger] Allow invoking property getters for objects

- These can be invoked interactively by the user from the IDE/chrome
debugger
- Getters on valuetypes are not supported right now

* [wasm][debugger] Fix warnings

* [wasm][debugger][tests] Fix DateTimeLocale test to await getting

.. properties for a DateTime object. Required after rebasing on master.
19 files changed:
mono/mini/mini-wasm-debugger.c
sdks/wasm/DebuggerTestSuite/CallFunctionOnTests.cs
sdks/wasm/DebuggerTestSuite/DateTimeTests.cs
sdks/wasm/DebuggerTestSuite/EvaluateOnCallFrameTests.cs
sdks/wasm/DebuggerTestSuite/Support.cs
sdks/wasm/Makefile
sdks/wasm/Mono.WebAssembly.DebuggerProxy/MonoProxy.cs
sdks/wasm/debug.html
sdks/wasm/other.js
sdks/wasm/sample.cs
sdks/wasm/src/library_mono.js
sdks/wasm/tests/debugger/debugger-array-test.cs [moved from sdks/wasm/debugger-array-test.cs with 100% similarity]
sdks/wasm/tests/debugger/debugger-cfo-test.cs [new file with mode: 0644]
sdks/wasm/tests/debugger/debugger-datetime-test.cs [moved from sdks/wasm/debugger-datetime-test.cs with 100% similarity]
sdks/wasm/tests/debugger/debugger-driver.html [moved from sdks/wasm/debugger-driver.html with 98% similarity]
sdks/wasm/tests/debugger/debugger-evaluate-test.cs [moved from sdks/wasm/debugger-evaluate-test.cs with 100% similarity]
sdks/wasm/tests/debugger/debugger-test.cs [moved from sdks/wasm/debugger-test.cs with 91% similarity]
sdks/wasm/tests/debugger/debugger-test2.cs [moved from sdks/wasm/debugger-test2.cs with 100% similarity]
sdks/wasm/tests/debugger/debugger-valuetypes-test.cs [moved from sdks/wasm/debugger-valuetypes-test.cs with 100% similarity]