--- a/Debugger/DebugUI.py Mon Dec 27 19:49:16 2010 +0100 +++ b/Debugger/DebugUI.py Fri Dec 31 15:19:02 2010 +0100 @@ -766,7 +766,7 @@ cap = self.debugServer.getClientCapabilities(language) break else: - if editor.isPyFile(): + if editor.isPy2File(): cap = self.debugServer.getClientCapabilities('Python') elif editor.isPy3File(): cap = self.debugServer.getClientCapabilities('Python3') @@ -805,7 +805,7 @@ if editor is None: return - if editor.isPyFile() or editor.isPy3File() or editor.isRubyFile(): + if editor.isPy2File() or editor.isPy3File() or editor.isRubyFile(): if editor.curLineHasBreakpoint(): self.dbgEditBpAct.setEnabled(True) else: