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.
15 lines
433 B
15 lines
433 B
define: DUK_USE_PANIC_SEGFAULT
|
|
feature_snippet: |
|
|
#undef DUK_USE_PANIC_SEGFAULT
|
|
#if defined(DUK_OPT_SEGFAULT_ON_PANIC)
|
|
#define DUK_USE_PANIC_SEGFAULT
|
|
#endif
|
|
introduced: 1.0.0
|
|
removed: 2.0.0
|
|
default: false
|
|
tags:
|
|
- portability
|
|
description: >
|
|
Cause an intentional segfault when the default panic handler is invoked.
|
|
This is useful when debugging with valgrind because a segfault provides
|
|
a nice C traceback in valgrind.
|
|
|