Debugger/DebugServer.py

changeset 96
9624a110667d
parent 55
b5c84934de9c
child 112
16893e193e9d
--- a/Debugger/DebugServer.py	Sun Jan 31 16:15:16 2010 +0000
+++ b/Debugger/DebugServer.py	Sun Jan 31 17:11:22 2010 +0000
@@ -7,10 +7,7 @@
 Module implementing the debug server.
 """
 
-import sys
 import os
-import time
-import signal
 
 from PyQt4.QtCore import *
 from PyQt4.QtGui import QMessageBox
@@ -279,7 +276,7 @@
         """
         if clType is not None and clType in self.getSupportedLanguages():
             self.clientType = clType
-            ok = Preferences.Prefs.settings.setValue('DebugClient/Type', 
+            Preferences.Prefs.settings.setValue('DebugClient/Type', 
                 self.clientType)
         
     def startClient(self, unplanned = True, clType = None, forProject = False, 
@@ -460,7 +457,10 @@
             cond, special = cond.split()
             special = self.watchSpecialChanged
         else:
-            return cond, ""
+            cond = cond
+            special = ""
+        
+        return cond, special
         
     def __clientClearWatchPoint(self, condition):
         """
@@ -1256,4 +1256,4 @@
         
         @return flag indicating a connection (boolean)
         """
-        return self.debuggerInterface and self.debuggerInterface.isConnected()
\ No newline at end of file
+        return self.debuggerInterface and self.debuggerInterface.isConnected()

eric ide

mercurial