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.
24 lines
601 B
24 lines
601 B
name: duk_debugger_cooperate
|
|
|
|
proto: |
|
|
void duk_debugger_cooperate(duk_context *ctx);
|
|
|
|
summary: |
|
|
<p>Check for and execute inbound debug commands without blocking. Debug
|
|
commands are executed in the context of the <code>ctx</code> argument.
|
|
May only be called when no calls into Duktape are in progress (from any
|
|
context). See
|
|
<a href="https://github.com/svaarala/duktape/blob/master/doc/debugger.rst">debugger.rst</a>
|
|
for more information.</p>
|
|
|
|
example: |
|
|
duk_debugger_cooperate(ctx);
|
|
|
|
tags:
|
|
- debugger
|
|
|
|
seealso:
|
|
- duk_debugger_attach
|
|
- duk_debugger_detach
|
|
|
|
introduced: 1.2.0
|
|
|