--- a/Debugger/DebugUI.py Mon Sep 03 11:50:03 2012 +0200 +++ b/Debugger/DebugUI.py Tue Sep 04 11:41:07 2012 +0200 @@ -1022,7 +1022,8 @@ file, line = stackTrace[0] source, encoding = Utilities.readEncodedFile(file) source = source.splitlines(True) - if "__IGNORE_EXCEPTION__" in Utilities.extractLineFlags( + if len(source) >= line and \ + "__IGNORE_EXCEPTION__" in Utilities.extractLineFlags( source[line - 1]): res = E5MessageBox.No except (UnicodeError, IOError):