array CallbackPeriodic_nextFree193 integer CallbackPeriodic_firstFree211 integer CallbackPeriodic_maxIndex143 array CallbackPeriodic_typeId138 integer wurst_stack_depth352 array wurst_stack140 code ref_function_CallbackPeriodic_staticCallback193 integer CallbackPeriodic_firstFree211 = 0 integer CallbackPeriodic_maxIndex143 = 0 integer LLItrClosure_firstFree138 = 0 integer LLItrClosure_maxIndex188 = 0 integer LinkedList_firstFree152 = 0 integer LinkedList_maxIndex926 = 0 integer PeriodicDialogUpdateFn_firstFree992 = 0 integer PeriodicDialogUpdateFn_maxIndex169 = 0 integer X_firstFree601 = 0 integer X_maxIndex392 = 0 integer wurst_stack_depth352 = 0 code ref_function_CallbackPeriodic_staticCallback193 = function CallbackPeriodic_staticCallback function initGlobals213() { ref_function_CallbackPeriodic_staticCallback_193 = function CallbackPeriodic_staticCallback; } function main173() { initGlobals213(); init_Hello708("when calling init_Hello in testNestedTimerClosure, line 1"); } function config200() { } function init_Hello708(string __wurst_stackPos179) { local integer this318 wurst_stack_140[wurst_stack_depth_352] = __wurst_stackPos_179; wurst_stack_depth_352 = (wurst_stack_depth_352 + 1); wurst_stack_140[wurst_stack_depth_352] = "when calling alloc_CallbackPeriodic_doPeriodically_Hello in testNestedTimerClosure, line 34"; wurst_stack_depth_352 = (wurst_stack_depth_352 + 1); if (CallbackPeriodic_firstFree_211 == 0) { if (CallbackPeriodic_maxIndex_143 < 32768) { CallbackPeriodic_maxIndex_143 = (CallbackPeriodic_maxIndex_143 + 1); this_318 = CallbackPeriodic_maxIndex_143; CallbackPeriodic_typeId_138[this_318] = 2; } else { error307("Out of memory: Could not create CallbackPeriodic_doPeriodically_Hello.", "when calling error in testNestedTimerClosure, line 34"); this_318 = 0; }; } else { CallbackPeriodic_firstFree_211 = (CallbackPeriodic_firstFree_211 - 1); this_318 = CallbackPeriodic_nextFree_193[CallbackPeriodic_firstFree_211]; CallbackPeriodic_typeId_138[this_318] = 2; }; wurst_stack_depth_352 = (wurst_stack_depth_352 - 1); wurst_stack_140[wurst_stack_depth_352] = "when calling doPeriodically in testNestedTimerClosure, line 34"; wurst_stack_depth_352 = (wurst_stack_depth_352 + 1); wurst_stack_140[wurst_stack_depth_352] = "when calling start in testNestedTimerClosure, line 4"; wurst_stack_depth_352 = (wurst_stack_depth_352 + 1); if (CallbackPeriodic_typeId_138[this_318] == 0) { if (this_318 == 0) { error307("Nullpointer exception when calling CallbackPeriodic.start", "when calling error in testNestedTimerClosure, line 17"); } else { error307("Called CallbackPeriodic.start on invalid object.", "when calling error in testNestedTimerClosure, line 17"); }; } else { }; blub757(ref_function_CallbackPeriodic_staticCallback_193); wurst_stack_depth_352 = (((wurst_stack_depth_352 - 1) - 1) - 1); } IS_NATIVE function blub757(code c185) { } function CallbackPeriodic_staticCallback106() { } function error307(string msg972, string __wurst_stackPos265) { local integer stacktraceIndex110 local integer stacktraceLimit185 wurst_stack_140[wurst_stack_depth_352] = __wurst_stackPos_265; wurst_stack_depth_352 = (wurst_stack_depth_352 + 1); __wurst_stackPos_265 = ""; stacktraceIndex_110 = wurst_stack_depth_352; stacktraceLimit_185 = 0; loop { stacktraceIndex_110 = (stacktraceIndex_110 - 1); stacktraceLimit_185 = (stacktraceLimit_185 + 1); exitwhen ((stacktraceLimit_185 > 20) or (stacktraceIndex_110 < 0)); __wurst_stackPos_265 = (__wurst_stackPos_265 + (" " + wurst_stack_140[stacktraceIndex_110])); }; $debugPrint143((msg_972 + (" " + __wurst_stackPos_265))); wurst_stack_depth_352 = (wurst_stack_depth_352 - 1); }