aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2013-09-27 22:53:25 +0300
committerJukka Jylänki <jujjyl@gmail.com>2013-12-20 11:49:32 +0200
commit184a425ce07a95e882f3f60b87c1c5037cbffec5 (patch)
tree25514d7efba73ca73fc36a6eca462ff78154ea0e /system
parent26d6ad370e05ff22128df6f0ff17538c8bc1030c (diff)
Also give the ability to print out function parameters in the callstack with emscripten_get_callstack.
Diffstat (limited to 'system')
-rw-r--r--system/include/emscripten/emscripten.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/include/emscripten/emscripten.h b/system/include/emscripten/emscripten.h
index 22fa9946..b6e6307b 100644
--- a/system/include/emscripten/emscripten.h
+++ b/system/include/emscripten/emscripten.h
@@ -471,6 +471,9 @@ double emscripten_asm_const_double(const char *code, ...);
/* If specified, the pathnames of the file information in the call
* stack will be omitted. */
#define EM_LOG_NO_PATHS 64
+/* If specified, prints out the actual values of the parameters the
+ * functions were invoked with. */
+#define EM_LOG_FUNC_PARAMS 128
/*
* Prints out a message to the console, optionally with the