integer Test_a194 array A_nextFree731 integer A_firstFree633 integer A_maxIndex140 array A_typeId344 integer wurst_stack_depth263 array wurst_stack609 integer Test_a194 = new_A160("when calling new_A in executeFuncWithStackTrace, line 9") integer A_firstFree633 = 0 integer A_maxIndex140 = 0 integer wurst_stack_depth263 = 0 function initGlobals165() { } function main837() { initGlobals165(); wurst_stack_609[wurst_stack_depth_263] = "when calling init_Test in executeFuncWithStackTrace, line 1"; wurst_stack_depth_263 = (wurst_stack_depth_263 + 1); Test_a_194 = new_A160("when calling new_A in executeFuncWithStackTrace, line 9"); EXECUTE bridge_foo312(); wurst_stack_depth_263 = (wurst_stack_depth_263 - 1); } function config393() { } IS_NATIVE function testSuccess116() { } function new_A160(string __wurst_stackPos635) returns integer { local integer this151 wurst_stack_609[wurst_stack_depth_263] = __wurst_stackPos_635; wurst_stack_depth_263 = (wurst_stack_depth_263 + 1); wurst_stack_609[wurst_stack_depth_263] = "when calling alloc_A in executeFuncWithStackTrace, line 6"; wurst_stack_depth_263 = (wurst_stack_depth_263 + 1); if (A_firstFree_633 == 0) { if (A_maxIndex_140 < 32768) { A_maxIndex_140 = (A_maxIndex_140 + 1); this_151 = A_maxIndex_140; A_typeId_344[this_151] = 1; } else { error187("Out of memory: Could not create A.", "when calling error in executeFuncWithStackTrace, line 6"); this_151 = 0; }; } else { A_firstFree_633 = (A_firstFree_633 - 1); this_151 = A_nextFree_731[A_firstFree_633]; A_typeId_344[this_151] = 1; }; wurst_stack_depth_263 = ((wurst_stack_depth_263 - 1) - 1); return this_151; } function error187(string msg617, string __wurst_stackPos157) { local integer stacktraceIndex112 local integer stacktraceLimit721 wurst_stack_609[wurst_stack_depth_263] = __wurst_stackPos_157; wurst_stack_depth_263 = (wurst_stack_depth_263 + 1); __wurst_stackPos_157 = ""; stacktraceIndex_112 = wurst_stack_depth_263; stacktraceLimit_721 = 0; loop { stacktraceIndex_112 = (stacktraceIndex_112 - 1); stacktraceLimit_721 = (stacktraceLimit_721 + 1); exitwhen ((stacktraceLimit_721 > 20) or (stacktraceIndex_112 < 0)); __wurst_stackPos_157 = (__wurst_stackPos_157 + (" " + wurst_stack_609[stacktraceIndex_112])); }; $debugPrint121((msg_617 + (" " + __wurst_stackPos_157))); wurst_stack_depth_263 = (wurst_stack_depth_263 - 1); } function bridge_foo312() { local integer this191 wurst_stack_depth_263 = 0; wurst_stack_609[wurst_stack_depth_263] = "via ExecuteFunc executeFuncWithStackTrace, line 13"; wurst_stack_depth_263 = (wurst_stack_depth_263 + 1); this_191 = Test_a_194; wurst_stack_609[wurst_stack_depth_263] = "when calling bar in executeFuncWithStackTrace, line 11"; wurst_stack_depth_263 = (wurst_stack_depth_263 + 1); if (A_typeId_344[this_191] == 0) { if (this_191 == 0) { error187("Nullpointer exception when calling A.bar", "when calling error in executeFuncWithStackTrace, line 7"); } else { error187("Called A.bar on invalid object.", "when calling error in executeFuncWithStackTrace, line 7"); }; } else { }; testSuccess116(); wurst_stack_depth_263 = ((wurst_stack_depth_263 - 1) - 1); }