array Iterator_nextFree201 integer Iterator_firstFree105 integer Iterator_maxIndex320 array Iterator_typeId880 array List_nextFree978 integer List_firstFree310 integer List_maxIndex157 array List_typeId132 integer wurst_stack_depth506 array wurst_stack154 integer A_firstFree106 = 0 integer A_maxIndex114 = 0 integer B_firstFree135 = 0 integer B_maxIndex145 = 0 integer C_firstFree185 = 0 integer C_maxIndex386 = 0 integer Iterator_firstFree105 = 0 integer Iterator_maxIndex320 = 0 integer List_firstFree310 = 0 integer List_maxIndex157 = 0 integer wurst_stack_depth506 = 0 function initGlobals132() { } function main188() { initGlobals132(); init_test185("when calling init_test in function, line 1"); } function config169() { } function init_test185(string __wurst_stackPos262) { local integer a361 wurst_stack_154[wurst_stack_depth_506] = __wurst_stackPos_262; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); a_361 = new_List145("when calling new_List in function, line 18"); wurst_stack_154[wurst_stack_depth_506] = "when calling iterator in function, line 19"; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); if (List_typeId_132[a_361] == 0) { if (a_361 == 0) { error155("Nullpointer exception when calling List.iterator", "when calling error in function, line 4"); } else { error155("Called List.iterator on invalid object.", "when calling error in function, line 4"); }; } else { }; wurst_stack_154[wurst_stack_depth_506] = "when calling iterator in function, line 4"; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); a_361 = new_Iterator562(a_361, "when calling new_Iterator in function, line 5"); wurst_stack_depth_506 = ((wurst_stack_depth_506 - 1) - 1); loop { wurst_stack_154[wurst_stack_depth_506] = "when calling hasNext in function, line 20"; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); if (Iterator_typeId_880[a_361] == 0) { if (a_361 == 0) { error155("Nullpointer exception when calling Iterator.hasNext", "when calling error in function, line 10"); } else { error155("Called Iterator.hasNext on invalid object.", "when calling error in function, line 10"); }; } else { }; wurst_stack_depth_506 = (wurst_stack_depth_506 - 1); wurst_stack_154[wurst_stack_depth_506] = "when calling next in function, line 21"; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); if (Iterator_typeId_880[a_361] == 0) { if (a_361 == 0) { error155("Nullpointer exception when calling Iterator.next", "when calling error in function, line 12"); } else { error155("Called Iterator.next on invalid object.", "when calling error in function, line 12"); }; } else { }; wurst_stack_depth_506 = (wurst_stack_depth_506 - 1); testSuccess240(); }; wurst_stack_depth_506 = (wurst_stack_depth_506 - 1); } IS_NATIVE function testSuccess240() { } function new_Iterator562(integer t165, string __wurst_stackPos183) returns integer { wurst_stack_154[wurst_stack_depth_506] = __wurst_stackPos_183; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); wurst_stack_154[wurst_stack_depth_506] = "when calling alloc_Iterator in function, line 8"; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); if (Iterator_firstFree_105 == 0) { if (Iterator_maxIndex_320 < 32768) { Iterator_maxIndex_320 = (Iterator_maxIndex_320 + 1); t_165 = Iterator_maxIndex_320; Iterator_typeId_880[t_165] = 4; } else { error155("Out of memory: Could not create Iterator.", "when calling error in function, line 6"); t_165 = 0; }; } else { Iterator_firstFree_105 = (Iterator_firstFree_105 - 1); t_165 = Iterator_nextFree_201[Iterator_firstFree_105]; Iterator_typeId_880[t_165] = 4; }; wurst_stack_depth_506 = ((wurst_stack_depth_506 - 1) - 1); return t_165; } function new_List145(string __wurst_stackPos147) returns integer { local integer this211 wurst_stack_154[wurst_stack_depth_506] = __wurst_stackPos_147; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); wurst_stack_154[wurst_stack_depth_506] = "when calling alloc_List in function, line 3"; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); if (List_firstFree_310 == 0) { if (List_maxIndex_157 < 32768) { List_maxIndex_157 = (List_maxIndex_157 + 1); this_211 = List_maxIndex_157; List_typeId_132[this_211] = 5; } else { error155("Out of memory: Could not create List.", "when calling error in function, line 3"); this_211 = 0; }; } else { List_firstFree_310 = (List_firstFree_310 - 1); this_211 = List_nextFree_978[List_firstFree_310]; List_typeId_132[this_211] = 5; }; wurst_stack_depth_506 = ((wurst_stack_depth_506 - 1) - 1); return this_211; } function error155(string msg567, string __wurst_stackPos322) { local integer stacktraceIndex185 local integer stacktraceLimit213 wurst_stack_154[wurst_stack_depth_506] = __wurst_stackPos_322; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); __wurst_stackPos_322 = ""; stacktraceIndex_185 = wurst_stack_depth_506; stacktraceLimit_213 = 0; loop { stacktraceIndex_185 = (stacktraceIndex_185 - 1); stacktraceLimit_213 = (stacktraceLimit_213 + 1); exitwhen ((stacktraceLimit_213 > 20) or (stacktraceIndex_185 < 0)); __wurst_stackPos_322 = (__wurst_stackPos_322 + (" " + wurst_stack_154[stacktraceIndex_185])); }; $debugPrint973((msg_567 + (" " + __wurst_stackPos_322))); wurst_stack_depth_506 = (wurst_stack_depth_506 - 1); }