mirror of https://github.com/svaarala/duktape.git
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.
18 lines
658 B
18 lines
658 B
define: DUK_USE_DEBUG_BUFSIZE
|
|
feature_snippet: |
|
|
#if defined(DUK_OPT_DEBUG_BUFSIZE)
|
|
#define DUK_USE_DEBUG_BUFSIZE DUK_OPT_DEBUG_BUFSIZE
|
|
#else
|
|
#define DUK_USE_DEBUG_BUFSIZE 65536L
|
|
#endif
|
|
introduced: 1.0.0
|
|
related: # not strictly required, value is defined even when DUK_USE_DEBUG not defined
|
|
- DUK_USE_DEBUG
|
|
default: 65536
|
|
tags:
|
|
- debug
|
|
description: >
|
|
Debug code uses a static buffer as a formatting temporary to avoid side
|
|
effects in debug prints. The static buffer is large by default, which
|
|
may be an issue in constrained environments. You can set the buffer size
|
|
manually with this option, e.g. set DUK_USE_DEBUG_BUFSIZE to 2048.
|
|
|