Debugger/DebuggerInterfacePython3.py

changeset 481
ad71812ba395
parent 465
c20e25deb33a
child 482
4650a72c307a
diff -r 793552e39173 -r ad71812ba395 Debugger/DebuggerInterfacePython3.py
--- a/Debugger/DebuggerInterfacePython3.py	Tue Aug 10 10:54:37 2010 +0200
+++ b/Debugger/DebuggerInterfacePython3.py	Tue Aug 10 13:15:03 2010 +0200
@@ -753,7 +753,7 @@
             # string read from the socket...
             boc = line.find('>')
             if boc > 0 and eoc > boc:
-                self.debugServer.clientOutput(line[:boc])
+                self.debugServer.signalClientOutput(line[:boc])
                 line = line[boc:]
                 eoc = line.find('<') + 1
                 boc = line.find('>')
@@ -770,18 +770,18 @@
                         self.__autoContinue = False
                         QTimer.singleShot(0, self.remoteContinue)
                     else:
-                        self.debugServer.clientLine(cf[0], int(cf[1]), 
+                        self.debugServer.signalClientLine(cf[0], int(cf[1]), 
                                                     resp == ResponseStack)
-                        self.debugServer.clientStack(stack)
+                        self.debugServer.signalClientStack(stack)
                     continue
                 
                 if resp == ResponseThreadList:
                     currentId, threadList = eval(line[eoc:-1])
-                    self.debugServer.clientThreadList(currentId, threadList)
+                    self.debugServer.signalClientThreadList(currentId, threadList)
                     continue
                 
                 if resp == ResponseThreadSet:
-                    self.debugServer.clientThreadSet()
+                    self.debugServer.signalClientThreadSet()
                     continue
                 
                 if resp == ResponseVariables:
@@ -791,7 +791,7 @@
                         variables = vlist[1:]
                     except IndexError:
                         variables = []
-                    self.debugServer.clientVariables(scope, variables)
+                    self.debugServer.signalClientVariables(scope, variables)
                     continue
                 
                 if resp == ResponseVariable:
@@ -801,15 +801,15 @@
                         variables = vlist[1:]
                     except IndexError:
                         variables = []
-                    self.debugServer.clientVariable(scope, variables)
+                    self.debugServer.signalClientVariable(scope, variables)
                     continue
                 
                 if resp == ResponseOK:
-                    self.debugServer.clientStatement(False)
+                    self.debugServer.signalClientStatement(False)
                     continue
                 
                 if resp == ResponseContinue:
-                    self.debugServer.clientStatement(True)
+                    self.debugServer.signalClientStatement(True)
                     continue
                 
                 if resp == ResponseException:
@@ -824,7 +824,7 @@
                         exctype = None
                         excmessage = ''
                         stack = []
-                    self.debugServer.clientException(exctype, excmessage, stack)
+                    self.debugServer.signalClientException(exctype, excmessage, stack)
                     continue
                 
                 if resp == ResponseSyntax:
@@ -841,57 +841,57 @@
                         cn = 0
                     if cn is None:
                         cn = 0
-                    self.debugServer.clientSyntaxError(message, fn, ln, cn)
+                    self.debugServer.signalClientSyntaxError(message, fn, ln, cn)
                     continue
                 
                 if resp == ResponseExit:
-                    self.debugServer.clientExit(line[eoc:-1])
+                    self.debugServer.signalClientExit(line[eoc:-1])
                     continue
                 
                 if resp == ResponseClearBreak:
                     fn, lineno = line[eoc:-1].split(',')
                     lineno = int(lineno)
                     fn = self.translate(fn, True)
-                    self.debugServer.clientClearBreak(fn, lineno)
+                    self.debugServer.signalClientClearBreak(fn, lineno)
                     continue
                 
                 if resp == ResponseBPConditionError:
                     fn, lineno = line[eoc:-1].split(',')
                     lineno = int(lineno)
                     fn = self.translate(fn, True)
-                    self.debugServer.clientBreakConditionError(fn, lineno)
+                    self.debugServer.signalClientBreakConditionError(fn, lineno)
                     continue
                 
                 if resp == ResponseClearWatch:
                     cond = line[eoc:-1]
-                    self.debugServer.clientClearWatch(cond)
+                    self.debugServer.signalClientClearWatch(cond)
                     continue
                 
                 if resp == ResponseWPConditionError:
                     cond = line[eoc:-1]
-                    self.debugServer.clientWatchConditionError(cond)
+                    self.debugServer.signalClientWatchConditionError(cond)
                     continue
                 
                 if resp == ResponseRaw:
                     prompt, echo = eval(line[eoc:-1])
-                    self.debugServer.clientRawInput(prompt, echo)
+                    self.debugServer.signalClientRawInput(prompt, echo)
                     continue
                 
                 if resp == ResponseBanner:
                     version, platform, dbgclient = eval(line[eoc:-1])
-                    self.debugServer.clientBanner(version, platform, dbgclient)
+                    self.debugServer.signalClientBanner(version, platform, dbgclient)
                     continue
                 
                 if resp == ResponseCapabilities:
                     cap, clType = eval(line[eoc:-1])
                     self.clientCapabilities = cap
-                    self.debugServer.clientCapabilities(cap, clType)
+                    self.debugServer.signalClientCapabilities(cap, clType)
                     continue
                 
                 if resp == ResponseCompletion:
                     clstring, text = line[eoc:-1].split('||')
                     cl = eval(clstring)
-                    self.debugServer.clientCompletionList(cl, text)
+                    self.debugServer.signalClientCompletionList(cl, text)
                     continue
                 
                 if resp == PassiveStartup:
@@ -933,7 +933,7 @@
                     self.__askForkTo()
                     continue
             
-            self.debugServer.clientOutput(line)
+            self.debugServer.signalClientOutput(line)
 
     def __sendCommand(self, cmd):
         """

eric ide

mercurial