diff options
author | Ankit Jain <radical@gmail.com> | 2020-04-04 03:36:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-04 03:36:44 +0300 |
commit | b3210bf1e5cddb78c0b78c365e8587ceab774e51 (patch) | |
tree | 775f2502b22328ca7d7ed3ef254fca0950d0672a /sdks/wasm/tests/src/tzdtest.cs | |
parent | 3122edcb7c1b92ce3728d6750e0f038c1be10517 (diff) |
[wasm][debugger] Improve array visualization (#19424)
* [wasm][debugger][tests] Refactor test support methods
.. which will help in the upcoming changes.
* [wasm][debugger][tests] Add tests for arrays
- These don't include the broken cases which are fixed in the next
commits
* [wasm][debugger][tests] Fix enumerating locals in async method on a
.. struct.
* [wasm][debugger] Support ValueTypes in arrays
- ValueTypes in array elements are not expanded by default. Instead,
they get an object id like `dotnet:array:{arrayObjectId}:{index}`
- And these get expanded on request
* [wasm][debugger] Fix calls to `mono_wasm_add_null_var` from js
- when being called from `library_mono.js`, with a native string like -
`MONO.mono_wasm_add_null_var ("string");`
.. which when passed to `Module.UTF8ToString (className)`, returns
`null`. So, if the result of that call is null, then use the `className`
argument as-is.
* [wasm][debugger][tests] Add test for local structs in an async method
* [wasm][debugger][tests] Add `TEST_ARGS` and `TEST_FILTER` arguments to
.. control `dotnet test` arguments.
Example use:
`make run-debugger-tests TEST_ARGS="--filter FullyQualifiedName~ArraysTests"`
or
`make run-debugger-tests TEST_FILTER="ArraysTests"`
* [wasm][debugger][tests] Make `label` the last argument, consistently.
* [wasm][debugger] Address review comments
- Return a `Result` response, instead of throwing an exception
* dummy commit to kick the pr
Diffstat (limited to 'sdks/wasm/tests/src/tzdtest.cs')
0 files changed, 0 insertions, 0 deletions