Browse Source

Add DUK_USE_FATAL_MAXLEN option

pull/1652/head
Sami Vaarala 7 years ago
parent
commit
32b323ae3a
  1. 8
      config/config-options/DUK_USE_FATAL_MAXLEN.yaml
  2. 1
      config/examples/low_memory.yaml

8
config/config-options/DUK_USE_FATAL_MAXLEN.yaml

@ -0,0 +1,8 @@
define: DUK_USE_FATAL_MAXLEN
introduced: 2.2.0
default: 128
tags:
- portability
description: >
Maximum length of fatal error message string when error is thrown by
Duktape internals, in particular for uncaught errors.

1
config/examples/low_memory.yaml

@ -21,6 +21,7 @@ DUK_USE_ERRCREATE: false
DUK_USE_ERRTHROW: false
DUK_USE_VERBOSE_ERRORS: false
DUK_USE_PARANOID_ERRORS: true
DUK_USE_FATAL_MAXLEN: 64
DUK_USE_VERBOSE_EXECUTOR_ERRORS: false # <100 bytes footprint
DUK_USE_DEBUGGER_SUPPORT: false # must be disabled if DUK_USE_PC2LINE is disabled
DUK_USE_PC2LINE: false

Loading…
Cancel
Save