integer Test_a212 array A_nextFree180 integer A_firstFree122 integer A_maxIndex205 array A_typeId800 integer wurst_stack_depth862 array wurst_stack200 integer Test_a212 = new_A197("when calling new_A in executeFuncWithStackTrace, line 9") integer A_firstFree122 = 0 integer A_maxIndex205 = 0 integer wurst_stack_depth862 = 0 function initGlobals154() { } function main109() { initGlobals154(); wurst_stack_200[wurst_stack_depth_862] = "when calling init_Test in executeFuncWithStackTrace, line 1"; wurst_stack_depth_862 = (wurst_stack_depth_862 + 1); Test_a_212 = new_A197("when calling new_A in executeFuncWithStackTrace, line 9"); EXECUTE bridge_foo681(); wurst_stack_depth_862 = (wurst_stack_depth_862 - 1); } function config602() { } IS_NATIVE function testSuccess110() { } function new_A197(string __wurst_stackPos161) returns integer { local integer this236 wurst_stack_200[wurst_stack_depth_862] = __wurst_stackPos_161; wurst_stack_depth_862 = (wurst_stack_depth_862 + 1); wurst_stack_200[wurst_stack_depth_862] = "when calling alloc_A in executeFuncWithStackTrace, line 6"; wurst_stack_depth_862 = (wurst_stack_depth_862 + 1); if (A_firstFree_122 == 0) { if (A_maxIndex_205 < 32768) { A_maxIndex_205 = (A_maxIndex_205 + 1); this_236 = A_maxIndex_205; A_typeId_800[this_236] = 1; } else { error172("Out of memory: Could not create A.", "when calling error in executeFuncWithStackTrace, line 6"); this_236 = 0; }; } else { A_firstFree_122 = (A_firstFree_122 - 1); this_236 = A_nextFree_180[A_firstFree_122]; A_typeId_800[this_236] = 1; }; wurst_stack_depth_862 = ((wurst_stack_depth_862 - 1) - 1); return this_236; } function error172(string msg931, string __wurst_stackPos184) { local integer stacktraceIndex136 local integer stacktraceLimit311 wurst_stack_200[wurst_stack_depth_862] = __wurst_stackPos_184; wurst_stack_depth_862 = (wurst_stack_depth_862 + 1); __wurst_stackPos_184 = ""; stacktraceIndex_136 = wurst_stack_depth_862; stacktraceLimit_311 = 0; loop { stacktraceIndex_136 = (stacktraceIndex_136 - 1); stacktraceLimit_311 = (stacktraceLimit_311 + 1); exitwhen ((stacktraceLimit_311 > 20) or (stacktraceIndex_136 < 0)); __wurst_stackPos_184 = (__wurst_stackPos_184 + (" " + wurst_stack_200[stacktraceIndex_136])); }; $debugPrint199((msg_931 + (" " + __wurst_stackPos_184))); wurst_stack_depth_862 = (wurst_stack_depth_862 - 1); } function bridge_foo681() { local integer this191 wurst_stack_depth_862 = 0; wurst_stack_200[wurst_stack_depth_862] = "via ExecuteFunc executeFuncWithStackTrace, line 13"; wurst_stack_depth_862 = (wurst_stack_depth_862 + 1); this_191 = Test_a_212; wurst_stack_200[wurst_stack_depth_862] = "when calling bar in executeFuncWithStackTrace, line 11"; wurst_stack_depth_862 = (wurst_stack_depth_862 + 1); if (A_typeId_800[this_191] == 0) { if (this_191 == 0) { error172("Nullpointer exception when calling A.bar", "when calling error in executeFuncWithStackTrace, line 7"); } else { error172("Called A.bar on invalid object.", "when calling error in executeFuncWithStackTrace, line 7"); }; } else { }; testSuccess110(); wurst_stack_depth_862 = ((wurst_stack_depth_862 - 1) - 1); }