aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-03-05 13:30:14 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-03-05 13:30:14 -0800
commit5774e5d0cff190488bb9eec61d3aaa68d4450f21 (patch)
treed55fa3edc0bf4fc351c1984e363a1335a5792106 /system
parentbaab492299fa9f2bd3717d55f98d3faa5e4ae4e8 (diff)
emscripten_debugger()
Diffstat (limited to 'system')
-rw-r--r--system/include/emscripten/emscripten.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/include/emscripten/emscripten.h b/system/include/emscripten/emscripten.h
index a3009936..4c1f7ad7 100644
--- a/system/include/emscripten/emscripten.h
+++ b/system/include/emscripten/emscripten.h
@@ -454,7 +454,18 @@ void emscripten_set_network_backend(int backend);
*/
int emscripten_get_compiler_setting(const char *name);
+/*
+ * Emits
+ * debugger;
+ * inline in the code, which tells the JS engine to invoke
+ * the debugger if it gets there.
+ */
+void emscripten_debugger();
+
+
+/* ===================================== */
/* Internal APIs. Be careful with these. */
+/* ===================================== */
/*
* Profiling tools.