You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
671 B

define: DUK_USE_TRACEBACK_DEPTH
feature_snippet: |
#if defined(DUK_OPT_TRACEBACK_DEPTH)
#define DUK_USE_TRACEBACK_DEPTH DUK_OPT_TRACEBACK_DEPTH
#else
#define DUK_USE_TRACEBACK_DEPTH 10
#endif
introduced: 1.0.0
default: 10
tags:
- ecmascript
description: >
Define traceback collection depth. A large number causes tracedata to be
larger, taking more time to create and consuming more memory. A small
number makes tracebacks less useful.
When tracebacks are disabled this option affects .fileName and .lineNumber
blaming. Error augmentation code won't look deeper than this value to find
a function to blame for error .fileName / .lineNumber.