array Iterator_nextFree560 integer Iterator_firstFree125 integer Iterator_maxIndex107 array Iterator_typeId198 array List_nextFree114 integer List_firstFree480 integer List_maxIndex133 array List_typeId119 integer wurst_stack_depth152 array wurst_stack176 integer A_firstFree557 = 0 integer A_maxIndex916 = 0 integer B_firstFree605 = 0 integer B_maxIndex981 = 0 integer C_firstFree148 = 0 integer C_maxIndex165 = 0 integer Iterator_firstFree125 = 0 integer Iterator_maxIndex107 = 0 integer List_firstFree480 = 0 integer List_maxIndex133 = 0 integer wurst_stack_depth152 = 0 function initGlobals167() { } function main786() { initGlobals167(); init_test574("when calling init_test in function, line 1"); } function config752() { } function init_test574(string __wurst_stackPos472) { local integer a494 wurst_stack_176[wurst_stack_depth_152] = __wurst_stackPos_472; wurst_stack_depth_152 = (wurst_stack_depth_152 + 1); a_494 = new_List110("when calling new_List in function, line 18"); wurst_stack_176[wurst_stack_depth_152] = "when calling iterator in function, line 19"; wurst_stack_depth_152 = (wurst_stack_depth_152 + 1); if (List_typeId_119[a_494] == 0) { if (a_494 == 0) { error118("Nullpointer exception when calling List.iterator", "when calling error in function, line 4"); } else { error118("Called List.iterator on invalid object.", "when calling error in function, line 4"); }; } else { }; wurst_stack_176[wurst_stack_depth_152] = "when calling iterator in function, line 4"; wurst_stack_depth_152 = (wurst_stack_depth_152 + 1); a_494 = new_Iterator576(a_494, "when calling new_Iterator in function, line 5"); wurst_stack_depth_152 = ((wurst_stack_depth_152 - 1) - 1); loop { wurst_stack_176[wurst_stack_depth_152] = "when calling hasNext in function, line 20"; wurst_stack_depth_152 = (wurst_stack_depth_152 + 1); if (Iterator_typeId_198[a_494] == 0) { if (a_494 == 0) { error118("Nullpointer exception when calling Iterator.hasNext", "when calling error in function, line 10"); } else { error118("Called Iterator.hasNext on invalid object.", "when calling error in function, line 10"); }; } else { }; wurst_stack_depth_152 = (wurst_stack_depth_152 - 1); wurst_stack_176[wurst_stack_depth_152] = "when calling next in function, line 21"; wurst_stack_depth_152 = (wurst_stack_depth_152 + 1); if (Iterator_typeId_198[a_494] == 0) { if (a_494 == 0) { error118("Nullpointer exception when calling Iterator.next", "when calling error in function, line 12"); } else { error118("Called Iterator.next on invalid object.", "when calling error in function, line 12"); }; } else { }; wurst_stack_depth_152 = (wurst_stack_depth_152 - 1); testSuccess731(); }; wurst_stack_depth_152 = (wurst_stack_depth_152 - 1); } IS_NATIVE function testSuccess731() { } function new_Iterator576(integer t475, string __wurst_stackPos748) returns integer { wurst_stack_176[wurst_stack_depth_152] = __wurst_stackPos_748; wurst_stack_depth_152 = (wurst_stack_depth_152 + 1); wurst_stack_176[wurst_stack_depth_152] = "when calling alloc_Iterator in function, line 8"; wurst_stack_depth_152 = (wurst_stack_depth_152 + 1); if (Iterator_firstFree_125 == 0) { if (Iterator_maxIndex_107 < 32768) { Iterator_maxIndex_107 = (Iterator_maxIndex_107 + 1); t_475 = Iterator_maxIndex_107; Iterator_typeId_198[t_475] = 4; } else { error118("Out of memory: Could not create Iterator.", "when calling error in function, line 6"); t_475 = 0; }; } else { Iterator_firstFree_125 = (Iterator_firstFree_125 - 1); t_475 = Iterator_nextFree_560[Iterator_firstFree_125]; Iterator_typeId_198[t_475] = 4; }; wurst_stack_depth_152 = ((wurst_stack_depth_152 - 1) - 1); return t_475; } function new_List110(string __wurst_stackPos182) returns integer { local integer this574 wurst_stack_176[wurst_stack_depth_152] = __wurst_stackPos_182; wurst_stack_depth_152 = (wurst_stack_depth_152 + 1); wurst_stack_176[wurst_stack_depth_152] = "when calling alloc_List in function, line 3"; wurst_stack_depth_152 = (wurst_stack_depth_152 + 1); if (List_firstFree_480 == 0) { if (List_maxIndex_133 < 32768) { List_maxIndex_133 = (List_maxIndex_133 + 1); this_574 = List_maxIndex_133; List_typeId_119[this_574] = 5; } else { error118("Out of memory: Could not create List.", "when calling error in function, line 3"); this_574 = 0; }; } else { List_firstFree_480 = (List_firstFree_480 - 1); this_574 = List_nextFree_114[List_firstFree_480]; List_typeId_119[this_574] = 5; }; wurst_stack_depth_152 = ((wurst_stack_depth_152 - 1) - 1); return this_574; } function error118(string msg670, string __wurst_stackPos115) { local integer stacktraceIndex520 local integer stacktraceLimit337 wurst_stack_176[wurst_stack_depth_152] = __wurst_stackPos_115; wurst_stack_depth_152 = (wurst_stack_depth_152 + 1); __wurst_stackPos_115 = ""; stacktraceIndex_520 = wurst_stack_depth_152; stacktraceLimit_337 = 0; loop { stacktraceIndex_520 = (stacktraceIndex_520 - 1); stacktraceLimit_337 = (stacktraceLimit_337 + 1); exitwhen ((stacktraceLimit_337 > 20) or (stacktraceIndex_520 < 0)); __wurst_stackPos_115 = (__wurst_stackPos_115 + (" " + wurst_stack_176[stacktraceIndex_520])); }; $debugPrint156((msg_670 + (" " + __wurst_stackPos_115))); wurst_stack_depth_152 = (wurst_stack_depth_152 - 1); }