NEST
2.6.0,not_revisioned_source_dir@0
|
Public Member Functions | |
void | execute (SLIInterpreter *) const |
void | backtrace (SLIInterpreter *, int) const |
Show stack backtrace information on error. More... | |
Public Member Functions inherited from SLIFunction | |
SLIFunction () | |
virtual | ~SLIFunction () |
|
virtual |
Show stack backtrace information on error.
This function tries to extract and display useful information from the execution stack if an error occurs. This function should be implemented for all functions which store administrative information on the execution stack. Examples are: loops and procedure iterations. backtrace() is only called, if the interpreter flag show_backtrace is set.
Reimplemented from SLIFunction.
References assert(), Token::datum(), SLIInterpreter::EStack, GenericDatum< D, slt >::get(), AggregateDatum< C, slt >::list(), and TokenStack::pick().
|
virtual |
Implements SLIFunction.
References TokenArray::assign_move(), Token::datum(), SLIInterpreter::debug_commandline(), SLIInterpreter::dec_call_depth(), SLIInterpreter::EStack, GenericDatum< D, slt >::get(), TokenArray::get(), AggregateDatum< C, slt >::list(), TokenStack::load(), SLIInterpreter::OStack, TokenStack::pick(), TokenStack::pop(), Token::pprint(), TokenStack::push(), TokenStack::push_move(), SLIInterpreter::raiseerror(), TokenArray::size(), SLIInterpreter::StackUnderflowError, SLIInterpreter::step_mode(), and TokenStack::top().