array Test_nextFree797 integer Test_firstFree124 integer Test_maxIndex120 array Test_typeId153 integer wurst_stack_depth190 array wurst_stack205 integer Test_firstFree124 = 0 integer Test_maxIndex120 = 0 integer wurst_stack_depth190 = 0 function initGlobals119() { } function main142() { local integer t144 initGlobals119(); wurst_stack_205[wurst_stack_depth_190] = "when calling init_test in realIndex, line 1"; wurst_stack_depth_190 = (wurst_stack_depth_190 + 1); t_144 = new_Test151("when calling new_Test in realIndex, line 18"); wurst_stack_205[wurst_stack_depth_190] = "when calling colorize in realIndex, line 19"; wurst_stack_depth_190 = (wurst_stack_depth_190 + 1); if (Test_typeId_153[t_144] == 0) { if (t_144 == 0) { error176("Nullpointer exception when calling Test.colorize", "when calling error in realIndex, line 9"); } else { error176("Called Test.colorize on invalid object.", "when calling error in realIndex, line 9"); }; } else { }; wurst_stack_depth_190 = ((wurst_stack_depth_190 - 1) - 1); } function config893() { } function new_Test151(string __wurst_stackPos177) returns integer { local integer this574 wurst_stack_205[wurst_stack_depth_190] = __wurst_stackPos_177; wurst_stack_depth_190 = (wurst_stack_depth_190 + 1); wurst_stack_205[wurst_stack_depth_190] = "when calling alloc_Test in realIndex, line 7"; wurst_stack_depth_190 = (wurst_stack_depth_190 + 1); if (Test_firstFree_124 == 0) { if (Test_maxIndex_120 < 32768) { Test_maxIndex_120 = (Test_maxIndex_120 + 1); this_574 = Test_maxIndex_120; Test_typeId_153[this_574] = 1; } else { error176("Out of memory: Could not create Test.", "when calling error in realIndex, line 7"); this_574 = 0; }; } else { Test_firstFree_124 = (Test_firstFree_124 - 1); this_574 = Test_nextFree_797[Test_firstFree_124]; Test_typeId_153[this_574] = 1; }; wurst_stack_depth_190 = ((wurst_stack_depth_190 - 1) - 1); return this_574; } function error176(string msg149, string __wurst_stackPos208) { local integer stacktraceIndex161 local integer stacktraceLimit100 wurst_stack_205[wurst_stack_depth_190] = __wurst_stackPos_208; wurst_stack_depth_190 = (wurst_stack_depth_190 + 1); __wurst_stackPos_208 = ""; stacktraceIndex_161 = wurst_stack_depth_190; stacktraceLimit_100 = 0; loop { stacktraceIndex_161 = (stacktraceIndex_161 - 1); stacktraceLimit_100 = (stacktraceLimit_100 + 1); exitwhen ((stacktraceLimit_100 > 20) or (stacktraceIndex_161 < 0)); __wurst_stackPos_208 = (__wurst_stackPos_208 + (" " + wurst_stack_205[stacktraceIndex_161])); }; $debugPrint186((msg_149 + (" " + __wurst_stackPos_208))); wurst_stack_depth_190 = (wurst_stack_depth_190 - 1); }