diff options
author | Xuejie Xiao <xxuejie@gmail.com> | 2012-12-07 16:35:01 -0500 |
---|---|---|
committer | Xuejie Xiao <xxuejie@gmail.com> | 2012-12-07 16:35:01 -0500 |
commit | 1522befda65f6bc6c9cf5234ae7e078437cb5e65 (patch) | |
tree | 6f038a0323f26b45b3daac7b75e3925eb9e5dc2a /src/settings.js | |
parent | ab399ca532fb1deb7607f6cc2feb01186d75ec2b (diff) |
Add function name filter for LABEL_DEBUG
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js index 1d8805a8..f32a8792 100644 --- a/src/settings.js +++ b/src/settings.js @@ -132,6 +132,15 @@ var SAFE_HEAP_LOG = 0; // Log out all SAFE_HEAP operations var LABEL_DEBUG = 0; // 1: Print out functions as we enter them // 2: Also print out each label as we enter it +var LABEL_FUNCTION_FILTERS = []; // Filters for function label debug. + // The items for this array will be used + // as filters for function names. Only the + // labels of functions that match one particular + // filter are printed out. + // The filters can be specified in both string + // type (use equality test) and regular expression + // (use match test). + // When the array is empty, the filter is disabled. var EXCEPTION_DEBUG = 1; // Print out exceptions in emscriptened code var LIBRARY_DEBUG = 0; // Print out when we enter a library call (library*.js). You can also unset |