company logo

SystemClass :: DebugFunction - Get function header

The function returns the function header for the currently active function or the function on the stack level passed in stack_num (current stack level is 0). Function header data may be displayed in order to debug OSI functions.

...MyOSIClass::fragment ( string parm1, int parm2 ) {

  Message(DebugFunction() + " called from \n  " + DebugFunction(1) );

}

Return value:  String object ( NString & )

Implementation details

NString SystemClass  :: DebugFunction ( int32 stack_num=0 )
  • stack_num - Stack level

    The stack level number for the current stack is 0.

    Default: 0