diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-03-05 13:30:14 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-03-05 13:30:14 -0800 |
commit | 5774e5d0cff190488bb9eec61d3aaa68d4450f21 (patch) | |
tree | d55fa3edc0bf4fc351c1984e363a1335a5792106 /system | |
parent | baab492299fa9f2bd3717d55f98d3faa5e4ae4e8 (diff) |
emscripten_debugger()
Diffstat (limited to 'system')
-rw-r--r-- | system/include/emscripten/emscripten.h | 11 |
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. |