name: duk_debugger_pause proto: | void duk_debugger_pause(duk_context *ctx); summary: |
Request a debugger pause as soon as possible and return without blocking. The pause will be triggered the next time Ecmascript bytecode is executed, which is usually almost immediate. However, if a native call such as a Duktape/C function is in progress or no Ecmascript code is currently executing, it may take longer for the pause to take effect.
The call is a no-op if (1) debugger support has not been compiled in, (2)
the debugger is not attached, or (3) Duktape is already paused. This mimics
the semantics of the Ecmascript debugger
statement.