From 5774e5d0cff190488bb9eec61d3aaa68d4450f21 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 5 Mar 2014 13:30:14 -0800 Subject: emscripten_debugger() --- system/include/emscripten/emscripten.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'system') 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. -- cgit v1.2.3-18-g5258