projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12a012a
)
[wasm][debugger] Ensure debugger is disabled (#56885)
author
Jérôme Laban
<jerome.laban@nventive.com>
Thu, 5 Aug 2021 10:52:55 +0000
(06:52 -0400)
committer
GitHub
<noreply@github.com>
Thu, 5 Aug 2021 10:52:55 +0000
(07:52 -0300)
src/mono/mono/component/mini-wasm-debugger.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/component/mini-wasm-debugger.c
b/src/mono/mono/component/mini-wasm-debugger.c
index
5dd9d8c
..
f70738d
100644
(file)
--- a/
src/mono/mono/component/mini-wasm-debugger.c
+++ b/
src/mono/mono/component/mini-wasm-debugger.c
@@
-144,8
+144,10
@@
static void
mono_wasm_enable_debugging_internal (int debug_level)
{
log_level = debug_level;
- PRINT_DEBUG_MSG (1, "DEBUGGING ENABLED\n");
- debugger_enabled = TRUE;
+ if (debug_level != 0) {
+ PRINT_DEBUG_MSG (1, "DEBUGGING ENABLED\n");
+ debugger_enabled = TRUE;
+ }
}
static void