Age | Commit message (Collapse) | Author |
|
* Merge dotnet/runtime.
* Missing file.
|
|
|
|
|
|
We need this for the new Jenkins Android emulator plugin since it uses a different adb version than what we have in $(ANDROID_TOOLCHAIN_DIR)/sdk.
|
|
* Reformatting files.
Merging dotnet/runtime to mono/mono
* Removing testharnessstartup from browserdebughost.
Fix format of EvaluateOnCallFrameTests.
* Fix package.
|
|
* Add extra-emcc-flags parameter to packager
* Style fix
|
|
* Renaming projects and files as we did on dotnet/runtime repo.
* Fixing library-mono.js to run debugger tests.
Fixing typo on DebuggerTestSuite.
|
|
unhandled) (#20215)
* [wasm] [debugger] Support Exception Break on Debugger (handled and unhandled)
Based on https://github.com/mono/mono/pull/20142
* Add missing function to library_mono.js
Co-authored-by: thaystg <thaystg@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
|
|
|
|
mode. (#20159)
* [wasm] Use interp-only instead of interp-llvmonly as the default execution mode.
interp-llvmonly caused mono_llvm_only to be set, causing bad behavior like
stack walks not working.
* Address comments.
|
|
|
|
`silent` argument for `callFunctionOn` should not cause errors to be
suppressed. According to the protocol docs:
`In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.`
- so, the result returned should have the error, if any.
- Added corresponding JS test, so that we know we are matching the
correct behavior.
|
|
|
|
information (#20083)
* Considering DebugDirectoryEntryType = Reproducible as an assembly that has debug information.
Fix #20075
* Adding test which Ankit wrote.
|
|
* [wasm] Refactor the wasm tuner.
Move the pinvoke table generation code into a new PInvokeTableGenerator.cs file,
to be similar to the corresponding code in WasmAppBuilder in dotnet/runtime. NFC.
* [wasm] Implement support for pinvoke callbacks in the interpeter.
* Modify the tuner to generate a table of trampoline functions which
have the same signature as the pinvoke callback methods.
* These functions transfer control to the interpreter.
* Modify the interpreter/wasm runtime to look up the functions
corresponding to the pinvoke callback methods.
* [csproj] Update project files
* Fix license.
* Remove leftover debug code.
Co-authored-by: monojenkins <jo.shields+jenkins@xamarin.com>
|
|
* [wasm][debugger] Send var names also, to `mono_wasm_get_variables`
- this will be useful in upcoming commits, which will need to use the
names for local pointer vars
* [wasm][debugger] Add support for deref'ing pointers
* [wasm][debugger] Dereference the pointer in js, instead of debugger.c
Based on suggestion from @vargaz
* [wasm][debugger][tests] Fix setting async methods when setting
.. breakpoint by method name. Async methods themselves don't have the
debug information. Instead, that can be found on the generated async
implementation type/method. Here, we just look for a type name
starting with `{original_type_name}/<{async_method_name}>`, and use the
method `MoveNext` from that.
* [wasm][debugger][tests] Update to set bp by method name+lineoffset
* Address review comments from Katelyn Gadd (@kg)
* Add test to check deref'ing invalid pointers
- We should really be handling invalid object ids, and report errors for
those, where appropriate. This will be done in a future PR
- For this PR, I'm adding tests that just check that invalid objects, or
trying to deref regular objects, doesn't blow up
* Remove old unused test code
* [wasm][debugger] Use JsonConvert instead of manually building the json string
- addresses review comment from @lewing
|
|
* Identifying if an assembly has debug info and only download it to debug proxy if it has, this will speed up a lot the debugger initialisation.
|
|
The top-level .gitignore has `[Dd]ebug*/` - which matches `sdk/wasm/DebuggerTestSuite/*`;
to override, we need to add `!DebuggerTestSuite` to sdk/wasm/.gitignore
|
|
* Re-enable verbose and trace logging in debug proxy
* Update LogLevel in ProxyDriver files
* Revert to use LogDebug for verbose messages
|
|
Fix package update scripts for local builds
|
|
(#20026)
|
|
|
|
WASM_OBJECT_FILES=0 is used. (#20021)
|
|
|
|
from recent emscripten versions. (#20006)
Fixes https://github.com/mono/mono/issues/20002.
|
|
|
|
|
|
|
|
|
|
Fixes https://github.com/mono/mono/issues/19943.
|
|
|
|
|
|
|
|
* [wasm] Bump emscripten to 1.39.17.
* [interp] Optimize MINT_DIV_I4/DIV_I8/REM_I4/REM_I8 to work around an llvm problem.
|
|
|
|
|
|
|
|
|
|
|
|
* Add more substitutions for SIMD get_IsSupported () methods.
* [wasm] Fix netcore+aot support.
|
|
declarations would be emitted, and error (#19873)
out at runtime.
Fixes https://github.com/mono/mono/issues/19869.
|
|
|
|
Fix the packager not emitting debug symbols when ninja is enabled (e.g. when statically linking a bitcode file, still using the interpreter).
|
|
declarations don't conflict with the ones in the header files included by driver.c. (#19853)
Fixes https://github.com/mono/mono/issues/19837.
|
|
|
|
|
|
|
|
Fixes https://github.com/mono/mono/issues/19826.
|
|
* [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.
|
|
* [wasm][debugger] Reduce debugger-tests timeout to 40m
- And run that before the system tests since the debugger is more likely
to fail at this point.
Based on @lewing's suggestion
* [wasm][tests] Allow overriding which browser to use
.. via the envvar `WASM_TESTS_ChromePath`.
This can also be set in an `appsettings.json` file next to the test
binaries, like:
```
{ "ChromePath": "</path/to/chrome/binary>" }
```
Also, prefer stable Chrome over Canary.
Co-authored by @lewing
|