Debugger/DebugServer.py

changeset 470
99d8c50ba42f
parent 465
c20e25deb33a
child 481
ad71812ba395
diff -r 0911d8be9b07 -r 99d8c50ba42f Debugger/DebugServer.py
--- a/Debugger/DebugServer.py	Mon Aug 09 15:59:33 2010 +0200
+++ b/Debugger/DebugServer.py	Mon Aug 09 16:20:50 2010 +0200
@@ -287,8 +287,10 @@
         # only start the client, if we are not in passive mode
         if not self.passive:
             if self.clientProcess:
-                self.clientProcess.readyReadStandardOutput.disconnect(self.__clientProcessError)
-                self.clientProcess.readyReadStandardOutput.disconnect(self.__clientProcessOutput)
+                self.clientProcess.readyReadStandardError.disconnect(
+                    self.__clientProcessError)
+                self.clientProcess.readyReadStandardOutput.disconnect(
+                    self.__clientProcessOutput)
                 self.clientProcess.close()
                 self.clientProcess.kill()
                 self.clientProcess.waitForFinished(10000)
@@ -310,8 +312,10 @@
                     self.debuggerInterface.startRemote(self.serverPort(), runInConsole)
             
             if self.clientProcess:
-                self.clientProcess.readyReadStandardOutput.connect(self.__clientProcessError)
-                self.clientProcess.readyReadStandardOutput.connect(self.__clientProcessOutput)
+                self.clientProcess.readyReadStandardError.connect(
+                    self.__clientProcessError)
+                self.clientProcess.readyReadStandardOutput.connect(
+                    self.__clientProcessOutput)
                 
                 if not isNetworked:
                     # the client is connected through stdin and stdout
@@ -1241,4 +1245,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