[wasm] Unbreak the debugger and harden it against bad assemblies. (#11011)
commitdf46658fd1674213e3370513b13e83575f02e841
authorRodrigo Kumpera <kumpera@users.noreply.github.com>
Mon, 8 Oct 2018 16:08:24 +0000 (8 12:08 -0400)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 8 Oct 2018 16:08:23 +0000 (8 12:08 -0400)
treea0bb080655bee0f8f017cbbaa9d5754f259bbd28
parent58228c24faf3d10a1d6f426bc03f045c2abb55c4
[wasm] Unbreak the debugger and harden it against bad assemblies. (#11011)

* [wasm] Harden the debugger against invalid breakpoints.

This happens when you reload a page and the old BPs land in now invalid code regions.

* Add node support to library_mono.js

* [wasm] Correctly register pdb files.
sdks/wasm/Mono.WebAssembly.DebuggerProxy/DebugStore.cs
sdks/wasm/Mono.WebAssembly.DebuggerProxy/MonoProxy.cs
sdks/wasm/Mono.WebAssembly.DebuggerProxy/WsProxy.cs
sdks/wasm/driver.c
sdks/wasm/library_mono.js