DJWoodgate #1 You could also consider the possibility that the debugger is confused and is not highlighting the correct line, so make sure thats really where the program terminates.