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.
28 lines
595 B
28 lines
595 B
name: duk_dump_context_stdout
|
|
|
|
proto: |
|
|
void duk_dump_context_stdout(duk_context *ctx);
|
|
|
|
stack: |
|
|
[ ... ] -> [ ... ]
|
|
|
|
summary: |
|
|
<p>Like <code><a href="#duk_push_context_dump">duk_push_context_dump()</a></code> but
|
|
the context dump is written to <code>stdout</code> and nothing is left on
|
|
the value stack.</p>
|
|
|
|
<p>If file I/O has been disabled, this call is a NOP.</p>
|
|
|
|
<div include="no-production-dump-calls.html" />
|
|
|
|
example: |
|
|
duk_push_int(ctx, 123);
|
|
duk_push_string(ctx, "foo");
|
|
duk_dump_context_stdout(ctx);
|
|
|
|
tags:
|
|
- stack
|
|
- debug
|
|
- nonportable
|
|
|
|
introduced: 1.0.0
|
|
|