array SimpleFunc_nextFree123 integer SimpleFunc_firstFree206 integer SimpleFunc_maxIndex180 array SimpleFunc_typeId147 array y169 integer wurst_stack_depth605 array wurst_stack126 integer SimpleFunc_firstFree206 = 0 integer SimpleFunc_maxIndex180 = 0 integer wurst_stack_depth605 = 0 function initGlobals269() { } function main166() { initGlobals269(); wurst_stack_126[wurst_stack_depth_605] = "when calling init_test in captureParam, line 1"; wurst_stack_depth_605 = (wurst_stack_depth_605 + 1); test284(4, "when calling test in captureParam, line 10"); wurst_stack_depth_605 = (wurst_stack_depth_605 - 1); } function config261() { } function test284(integer y991, string __wurst_stackPos122) { local integer this912 wurst_stack_126[wurst_stack_depth_605] = __wurst_stackPos_122; wurst_stack_depth_605 = (wurst_stack_depth_605 + 1); wurst_stack_126[wurst_stack_depth_605] = "when calling alloc_SimpleFunc_test in captureParam, line 6"; wurst_stack_depth_605 = (wurst_stack_depth_605 + 1); if (SimpleFunc_firstFree_206 == 0) { if (SimpleFunc_maxIndex_180 < 32768) { SimpleFunc_maxIndex_180 = (SimpleFunc_maxIndex_180 + 1); this_912 = SimpleFunc_maxIndex_180; SimpleFunc_typeId_147[this_912] = 2; } else { error191("Out of memory: Could not create SimpleFunc_test.", "when calling error in captureParam, line 6"); this_912 = 0; }; } else { SimpleFunc_firstFree_206 = (SimpleFunc_firstFree_206 - 1); this_912 = SimpleFunc_nextFree_123[SimpleFunc_firstFree_206]; SimpleFunc_typeId_147[this_912] = 2; }; wurst_stack_depth_605 = (wurst_stack_depth_605 - 1); y_169[this_912] = y_991; wurst_stack_126[wurst_stack_depth_605] = "when calling apply in captureParam, line 7"; wurst_stack_depth_605 = (wurst_stack_depth_605 + 1); if (SimpleFunc_typeId_147[this_912] == 0) { if (this_912 == 0) { error191("Nullpointer exception when calling SimpleFunc.apply", "when calling error in captureParam, line 4"); } else { error191("Called SimpleFunc.apply on invalid object.", "when calling error in captureParam, line 4"); }; } else { }; y_991 = (3 + y_169[this_912]); wurst_stack_depth_605 = (wurst_stack_depth_605 - 1); if (y_991 == 7) { testSuccess706(); } else { }; wurst_stack_depth_605 = (wurst_stack_depth_605 - 1); } IS_NATIVE function testSuccess706() { } function error191(string msg863, string __wurst_stackPos440) { local integer stacktraceIndex621 local integer stacktraceLimit162 wurst_stack_126[wurst_stack_depth_605] = __wurst_stackPos_440; wurst_stack_depth_605 = (wurst_stack_depth_605 + 1); __wurst_stackPos_440 = ""; stacktraceIndex_621 = wurst_stack_depth_605; stacktraceLimit_162 = 0; loop { stacktraceIndex_621 = (stacktraceIndex_621 - 1); stacktraceLimit_162 = (stacktraceLimit_162 + 1); exitwhen ((stacktraceLimit_162 > 20) or (stacktraceIndex_621 < 0)); __wurst_stackPos_440 = (__wurst_stackPos_440 + (" " + wurst_stack_126[stacktraceIndex_621])); }; $debugPrint164((msg_863 + (" " + __wurst_stackPos_440))); wurst_stack_depth_605 = (wurst_stack_depth_605 - 1); }