From 184a425ce07a95e882f3f60b87c1c5037cbffec5 Mon Sep 17 00:00:00 2001 From: Jukka Jylänki Date: Fri, 27 Sep 2013 22:53:25 +0300 Subject: Also give the ability to print out function parameters in the callstack with emscripten_get_callstack. --- tests/emscripten_log/emscripten_log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3-18-g5258