Skip to main content

Name

scpt_get_traceback — Populate the top of the scriptlet stack with a traceback of the current excution stack

Synopsis

#include "modules/scriptlets/ec_scriptlet.h"

| int **scpt_get_traceback** ( | thr, |   | |   | skip); |   |

scpt_thread * <var class="pdparam">thr</var>; int <var class="pdparam">skip</var>;

Description

Populate the top of the scriptlet stack with a traceback of the current excution stack.

Parameters

thr

The script thread. For a description of this data type see “scpt_thread”.

skip

Return Value

This function returns 1.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?