Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/sdks
diff options
context:
space:
mode:
authormonojenkins <jo.shields+jenkins@xamarin.com>2020-08-08 13:32:02 +0300
committerGitHub <noreply@github.com>2020-08-08 13:32:02 +0300
commit8a2dc9dc321e2a98b986c79eb6fd32ecfd054abc (patch)
tree9a8901526db9469ff6ec2d373bf22cfbe2a23d26 /sdks
parent61ba224a6e0258c43dbdb81f94e50ff2d0a97eae (diff)
[wasm] [debugger] Support Exception Break on Debugger (handled and 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>
Diffstat (limited to 'sdks')
-rw-r--r--sdks/wasm/src/library_mono.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/sdks/wasm/src/library_mono.js b/sdks/wasm/src/library_mono.js
index 6569fd985d0..8e8f9080be2 100644
--- a/sdks/wasm/src/library_mono.js
+++ b/sdks/wasm/src/library_mono.js
@@ -1185,7 +1185,17 @@ var MonoSupportLib = {
mono_wasm_fire_bp: function () {
console.log ("mono_wasm_fire_bp");
debugger;
- }
+ },
+
+ mono_wasm_fire_exception: function (exception_id, message, class_name, uncaught) {
+ MONO.active_exception = {
+ exception_id: exception_id,
+ message : Module.UTF8ToString (message),
+ class_name : Module.UTF8ToString (class_name),
+ uncaught : uncaught
+ };
+ debugger;
+ },
};
autoAddDeps(MonoSupportLib, '$MONO')