array Iterator_nextFree907 integer Iterator_firstFree183 integer Iterator_maxIndex214 array Iterator_typeId110 array List_nextFree772 integer List_firstFree110 integer List_maxIndex160 array List_typeId766 integer wurst_stack_depth204 array wurst_stack220 integer A_firstFree116 = 0 integer A_maxIndex807 = 0 integer B_firstFree198 = 0 integer B_maxIndex144 = 0 integer C_firstFree149 = 0 integer C_maxIndex153 = 0 integer Iterator_firstFree183 = 0 integer Iterator_maxIndex214 = 0 integer List_firstFree110 = 0 integer List_maxIndex160 = 0 integer wurst_stack_depth204 = 0 function initGlobals199() { } function main885() { initGlobals199(); init_test445("when calling init_test in function, line 1"); } function config548() { } function init_test445(string __wurst_stackPos129) { local integer a682 wurst_stack_220[wurst_stack_depth_204] = __wurst_stackPos_129; wurst_stack_depth_204 = (wurst_stack_depth_204 + 1); a_682 = new_List512("when calling new_List in function, line 18"); wurst_stack_220[wurst_stack_depth_204] = "when calling iterator in function, line 19"; wurst_stack_depth_204 = (wurst_stack_depth_204 + 1); if (List_typeId_766[a_682] == 0) { if (a_682 == 0) { error235("Nullpointer exception when calling List.iterator", "when calling error in function, line 4"); } else { error235("Called List.iterator on invalid object.", "when calling error in function, line 4"); }; } else { }; wurst_stack_220[wurst_stack_depth_204] = "when calling iterator in function, line 4"; wurst_stack_depth_204 = (wurst_stack_depth_204 + 1); a_682 = new_Iterator171(a_682, "when calling new_Iterator in function, line 5"); wurst_stack_depth_204 = ((wurst_stack_depth_204 - 1) - 1); loop { wurst_stack_220[wurst_stack_depth_204] = "when calling hasNext in function, line 20"; wurst_stack_depth_204 = (wurst_stack_depth_204 + 1); if (Iterator_typeId_110[a_682] == 0) { if (a_682 == 0) { error235("Nullpointer exception when calling Iterator.hasNext", "when calling error in function, line 10"); } else { error235("Called Iterator.hasNext on invalid object.", "when calling error in function, line 10"); }; } else { }; wurst_stack_depth_204 = (wurst_stack_depth_204 - 1); wurst_stack_220[wurst_stack_depth_204] = "when calling next in function, line 21"; wurst_stack_depth_204 = (wurst_stack_depth_204 + 1); if (Iterator_typeId_110[a_682] == 0) { if (a_682 == 0) { error235("Nullpointer exception when calling Iterator.next", "when calling error in function, line 12"); } else { error235("Called Iterator.next on invalid object.", "when calling error in function, line 12"); }; } else { }; wurst_stack_depth_204 = (wurst_stack_depth_204 - 1); testSuccess201(); }; wurst_stack_depth_204 = (wurst_stack_depth_204 - 1); } IS_NATIVE function testSuccess201() { } function new_Iterator171(integer t207, string __wurst_stackPos988) returns integer { wurst_stack_220[wurst_stack_depth_204] = __wurst_stackPos_988; wurst_stack_depth_204 = (wurst_stack_depth_204 + 1); wurst_stack_220[wurst_stack_depth_204] = "when calling alloc_Iterator in function, line 8"; wurst_stack_depth_204 = (wurst_stack_depth_204 + 1); if (Iterator_firstFree_183 == 0) { if (Iterator_maxIndex_214 < 32768) { Iterator_maxIndex_214 = (Iterator_maxIndex_214 + 1); t_207 = Iterator_maxIndex_214; Iterator_typeId_110[t_207] = 4; } else { error235("Out of memory: Could not create Iterator.", "when calling error in function, line 6"); t_207 = 0; }; } else { Iterator_firstFree_183 = (Iterator_firstFree_183 - 1); t_207 = Iterator_nextFree_907[Iterator_firstFree_183]; Iterator_typeId_110[t_207] = 4; }; wurst_stack_depth_204 = ((wurst_stack_depth_204 - 1) - 1); return t_207; } function new_List512(string __wurst_stackPos212) returns integer { local integer this909 wurst_stack_220[wurst_stack_depth_204] = __wurst_stackPos_212; wurst_stack_depth_204 = (wurst_stack_depth_204 + 1); wurst_stack_220[wurst_stack_depth_204] = "when calling alloc_List in function, line 3"; wurst_stack_depth_204 = (wurst_stack_depth_204 + 1); if (List_firstFree_110 == 0) { if (List_maxIndex_160 < 32768) { List_maxIndex_160 = (List_maxIndex_160 + 1); this_909 = List_maxIndex_160; List_typeId_766[this_909] = 5; } else { error235("Out of memory: Could not create List.", "when calling error in function, line 3"); this_909 = 0; }; } else { List_firstFree_110 = (List_firstFree_110 - 1); this_909 = List_nextFree_772[List_firstFree_110]; List_typeId_766[this_909] = 5; }; wurst_stack_depth_204 = ((wurst_stack_depth_204 - 1) - 1); return this_909; } function error235(string msg128, string __wurst_stackPos131) { local integer stacktraceIndex196 local integer stacktraceLimit902 wurst_stack_220[wurst_stack_depth_204] = __wurst_stackPos_131; wurst_stack_depth_204 = (wurst_stack_depth_204 + 1); __wurst_stackPos_131 = ""; stacktraceIndex_196 = wurst_stack_depth_204; stacktraceLimit_902 = 0; loop { stacktraceIndex_196 = (stacktraceIndex_196 - 1); stacktraceLimit_902 = (stacktraceLimit_902 + 1); exitwhen ((stacktraceLimit_902 > 20) or (stacktraceIndex_196 < 0)); __wurst_stackPos_131 = (__wurst_stackPos_131 + (" " + wurst_stack_220[stacktraceIndex_196])); }; $debugPrint118((msg_128 + (" " + __wurst_stackPos_131))); wurst_stack_depth_204 = (wurst_stack_depth_204 - 1); }