ph_stacktrace PowerHome formula function
Description
Returns a trace of the
PowerHome execution stack
Syntax
ph_stacktrace ( )
Return value
String. Returns a trace of the
execution stack. Returns "*ERROR - Runtime Error" if a runtime error
occurs. Returns "*ERROR - Stack Trace Failed" if the
stack trace fails
Usage
Use this function for debugging purposes to
analyze the sequence of function calls and events that have
taken place.
Examples
The following examples demonstrate typical syntax/usage for this function.
• ph_stacktrace() Returns the
following string assuming the function was executed from the PowerHome
multi-editor and no other routines are currently on the
stack:
ph_stacktrace Line: 7
uo_function.f_evalformula Line: 16
w_wshedit.f_executeph Line: 23
m_editor.m_executescript.+clicked Line: 14