diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2013-09-27 22:53:25 +0300 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-12-20 11:49:32 +0200 |
commit | 184a425ce07a95e882f3f60b87c1c5037cbffec5 (patch) | |
tree | 25514d7efba73ca73fc36a6eca462ff78154ea0e /tests/emscripten_log | |
parent | 26d6ad370e05ff22128df6f0ff17538c8bc1030c (diff) |
Also give the ability to print out function parameters in the callstack with emscripten_get_callstack.
Diffstat (limited to 'tests/emscripten_log')
-rw-r--r-- | tests/emscripten_log/emscripten_log.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/emscripten_log/emscripten_log.cpp b/tests/emscripten_log/emscripten_log.cpp index 39d8c9f5..0cd77467 100644 --- a/tests/emscripten_log/emscripten_log.cpp +++ b/tests/emscripten_log/emscripten_log.cpp @@ -56,7 +56,7 @@ void bar(int = 0, char * = 0, double = 0) // Arbitrary function signature to add else MYASSERT(1 == 1); - int flags = EM_LOG_NO_PATHS | EM_LOG_JS_STACK | EM_LOG_DEMANGLE; + int flags = EM_LOG_NO_PATHS | EM_LOG_JS_STACK | EM_LOG_DEMANGLE | EM_LOG_FUNC_PARAMS; #ifndef RUN_FROM_JS_SHELL flags |= EM_LOG_C_STACK; #endif |