12#if defined(DUK_USE_DEBUGGER_SUPPORT) && \
13 (defined(DUK_USE_DEBUGGER_THROW_NOTIFY) || defined(DUK_USE_DEBUGGER_PAUSE_UNCAUGHT))
75#if defined(DUK_USE_DEBUGGER_SUPPORT)
87#if defined(DUK_USE_DEBUGGER_THROW_NOTIFY) || defined(DUK_USE_DEBUGGER_PAUSE_UNCAUGHT)
88 if (DUK_HEAP_IS_DEBUGGER_ATTACHED(thr->
heap) &&
89 !thr->
heap->dbg_processing &&
101 DUK_D(
DUK_DPRINT(
"built-in DoubleError instance thrown, not intercepting"));
102 goto skip_throw_intercept;
107 fatal = !duk__have_active_catcher(thr);
109#if defined(DUK_USE_DEBUGGER_THROW_NOTIFY)
111 duk_debug_send_throw(thr,
fatal);
114#if defined(DUK_USE_DEBUGGER_PAUSE_UNCAUGHT)
117 duk_debug_halt_execution(thr, 1 );
122 skip_throw_intercept:
duk_small_int_t duk_bool_t
#define DUK_LJ_TYPE_THROW
#define DUK_BIDX_EVAL_ERROR_PROTOTYPE
#define DUK_BIDX_TYPE_ERROR_PROTOTYPE
#define DUK_BIDX_DOUBLE_ERROR
#define DUK_TVAL_SET_TVAL_UPDREF
#define DUK_BIDX_ERROR_PROTOTYPE
#define DUK_BIDX_REFERENCE_ERROR_PROTOTYPE
#define DUK_BIDX_URI_ERROR_PROTOTYPE
#define DUK_BIDX_SYNTAX_ERROR_PROTOTYPE
DUK_EXTERNAL void duk_pop(duk_context *ctx)
DUK_INTERNAL_DECL duk_hobject * duk_get_hobject(duk_context *ctx, duk_idx_t index)
#define DUK_CAT_HAS_CATCH_ENABLED(c)
#define DUK_BIDX_RANGE_ERROR_PROTOTYPE
#define DUK_ERR_TYPE_ERROR
#define DUK_ERR_ALLOC_ERROR
#define DUK_ERR_INTERNAL_ERROR
#define DUK_ERR_API_ERROR
#define DUK_ERR_EVAL_ERROR
#define DUK_ERR_SYNTAX_ERROR
#define DUK_ERR_RANGE_ERROR
#define DUK_ERR_UNIMPLEMENTED_ERROR
#define DUK_ERR_ASSERTION_ERROR
#define DUK_ERR_REFERENCE_ERROR
#define DUK_ERR_URI_ERROR
DUK_INTERNAL void duk_err_setup_heap_ljstate(duk_hthread *thr, duk_small_int_t lj_type)
DUK_INTERNAL duk_hobject * duk_error_prototype_from_code(duk_hthread *thr, duk_errcode_t code)
static void fatal(const char *message)
duk_hobject * builtins[DUK_NUM_BUILTINS]
duk_size_t catchstack_top