array CallbackPeriodic_nextFree106 integer CallbackPeriodic_firstFree126 integer CallbackPeriodic_maxIndex263 array CallbackPeriodic_typeId207 integer wurst_stack_depth198 array wurst_stack194 code ref_function_CallbackPeriodic_staticCallback113 integer CallbackPeriodic_firstFree126 = 0 integer CallbackPeriodic_maxIndex263 = 0 integer LLItrClosure_firstFree166 = 0 integer LLItrClosure_maxIndex124 = 0 integer LinkedList_firstFree111 = 0 integer LinkedList_maxIndex167 = 0 integer PeriodicDialogUpdateFn_firstFree646 = 0 integer PeriodicDialogUpdateFn_maxIndex185 = 0 integer X_firstFree203 = 0 integer X_maxIndex120 = 0 integer wurst_stack_depth198 = 0 code ref_function_CallbackPeriodic_staticCallback113 = function CallbackPeriodic_staticCallback function initGlobals113() { ref_function_CallbackPeriodic_staticCallback_113 = function CallbackPeriodic_staticCallback; } function main113() { initGlobals113(); init_Hello199("when calling init_Hello in testNestedTimerClosure, line 1"); } function config129() { } function init_Hello199(string __wurst_stackPos199) { local integer this527 wurst_stack_194[wurst_stack_depth_198] = __wurst_stackPos_199; wurst_stack_depth_198 = (wurst_stack_depth_198 + 1); wurst_stack_194[wurst_stack_depth_198] = "when calling alloc_CallbackPeriodic_doPeriodically_Hello in testNestedTimerClosure, line 34"; wurst_stack_depth_198 = (wurst_stack_depth_198 + 1); if (CallbackPeriodic_firstFree_126 == 0) { if (CallbackPeriodic_maxIndex_263 < 32768) { CallbackPeriodic_maxIndex_263 = (CallbackPeriodic_maxIndex_263 + 1); this_527 = CallbackPeriodic_maxIndex_263; CallbackPeriodic_typeId_207[this_527] = 2; } else { error127("Out of memory: Could not create CallbackPeriodic_doPeriodically_Hello.", "when calling error in testNestedTimerClosure, line 34"); this_527 = 0; }; } else { CallbackPeriodic_firstFree_126 = (CallbackPeriodic_firstFree_126 - 1); this_527 = CallbackPeriodic_nextFree_106[CallbackPeriodic_firstFree_126]; CallbackPeriodic_typeId_207[this_527] = 2; }; wurst_stack_depth_198 = (wurst_stack_depth_198 - 1); wurst_stack_194[wurst_stack_depth_198] = "when calling doPeriodically in testNestedTimerClosure, line 34"; wurst_stack_depth_198 = (wurst_stack_depth_198 + 1); wurst_stack_194[wurst_stack_depth_198] = "when calling start in testNestedTimerClosure, line 4"; wurst_stack_depth_198 = (wurst_stack_depth_198 + 1); if (CallbackPeriodic_typeId_207[this_527] == 0) { if (this_527 == 0) { error127("Nullpointer exception when calling CallbackPeriodic.start", "when calling error in testNestedTimerClosure, line 17"); } else { error127("Called CallbackPeriodic.start on invalid object.", "when calling error in testNestedTimerClosure, line 17"); }; } else { }; blub214(ref_function_CallbackPeriodic_staticCallback_113); wurst_stack_depth_198 = (((wurst_stack_depth_198 - 1) - 1) - 1); } IS_NATIVE function blub214(code c156) { } function CallbackPeriodic_staticCallback188() { } function error127(string msg941, string __wurst_stackPos619) { local integer stacktraceIndex503 local integer stacktraceLimit193 wurst_stack_194[wurst_stack_depth_198] = __wurst_stackPos_619; wurst_stack_depth_198 = (wurst_stack_depth_198 + 1); __wurst_stackPos_619 = ""; stacktraceIndex_503 = wurst_stack_depth_198; stacktraceLimit_193 = 0; loop { stacktraceIndex_503 = (stacktraceIndex_503 - 1); stacktraceLimit_193 = (stacktraceLimit_193 + 1); exitwhen ((stacktraceLimit_193 > 20) or (stacktraceIndex_503 < 0)); __wurst_stackPos_619 = (__wurst_stackPos_619 + (" " + wurst_stack_194[stacktraceIndex_503])); }; $debugPrint111((msg_941 + (" " + __wurst_stackPos_619))); wurst_stack_depth_198 = (wurst_stack_depth_198 - 1); }