[wasm][debugger] Detect initial status of pause on exceptions. (#54040)
authorThays Grazia <thaystg@gmail.com>
Fri, 25 Jun 2021 01:21:57 +0000 (22:21 -0300)
committerGitHub <noreply@github.com>
Fri, 25 Jun 2021 01:21:57 +0000 (22:21 -0300)
commit881e90231b93652acde39bea946c6075a71d5ddc
tree3e5b47a13eb2b3752c12a289d851ba227515716f
parent75b6c99e2c704b3e366ce86020633c517a821d61
[wasm][debugger] Detect initial status of pause on exceptions. (#54040)

* Detect initial status of pause on exceptions.

* Changing what @radical suggested.

* Changing more things.

* Test case created.
I could not test the pause on "all" exceptions because if I enable the pause on caught exceptions and reload the page it will stop in a lot of exceptions other then the one that I inserted in AttachToTarget.

* Adding a test for Reload page with ALL set.

* Fixing merge conflicts.

* setting icordebug = false.

* Removing unrelated change.
src/mono/wasm/debugger/BrowserDebugProxy/DevToolsHelper.cs
src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs
src/mono/wasm/debugger/DebuggerTestSuite/ExceptionTests.cs