Debugger/DebuggerInterfacePython.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3021
801289962f4e
child 3060
5883ce99ee12
diff -r 10516539f238 -r 0a02c433f52d Debugger/DebuggerInterfacePython.py
--- a/Debugger/DebuggerInterfacePython.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Debugger/DebuggerInterfacePython.py	Fri Nov 01 15:48:48 2013 +0100
@@ -157,7 +157,8 @@
         """
         interpreter = Preferences.getDebugger("PythonInterpreter")
         if interpreter == "":
-            E5MessageBox.critical(None,
+            E5MessageBox.critical(
+                None,
                 self.trUtf8("Start Debugger"),
                 self.trUtf8(
                     """<p>No Python2 interpreter configured.</p>"""))
@@ -196,7 +197,8 @@
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:])
                 if process is None:
-                    E5MessageBox.critical(None,
+                    E5MessageBox.critical(
+                        None,
                         self.trUtf8("Start Debugger"),
                         self.trUtf8(
                             """<p>The debugger backend could not be"""
@@ -242,18 +244,21 @@
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:], clientEnv)
                 if process is None:
-                    E5MessageBox.critical(None,
+                    E5MessageBox.critical(
+                        None,
                         self.trUtf8("Start Debugger"),
                         self.trUtf8(
                             """<p>The debugger backend could not be"""
                             """ started.</p>"""))
                 return process, self.__isNetworked
         
-        process = self.__startProcess(interpreter,
+        process = self.__startProcess(
+            interpreter,
             [debugClient, noencoding, str(port), redirect, ipaddr],
             clientEnv)
         if process is None:
-            E5MessageBox.critical(None,
+            E5MessageBox.critical(
+                None,
                 self.trUtf8("Start Debugger"),
                 self.trUtf8(
                     """<p>The debugger backend could not be started.</p>"""))
@@ -294,7 +299,8 @@
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:])
                 if process is None:
-                    E5MessageBox.critical(None,
+                    E5MessageBox.critical(
+                        None,
                         self.trUtf8("Start Debugger"),
                         self.trUtf8(
                             """<p>The debugger backend could not be"""
@@ -340,18 +346,21 @@
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:], clientEnv)
                 if process is None:
-                    E5MessageBox.critical(None,
+                    E5MessageBox.critical(
+                        None,
                         self.trUtf8("Start Debugger"),
                         self.trUtf8(
                             """<p>The debugger backend could not be"""
                             """ started.</p>"""))
                 return process, self.__isNetworked
         
-        process = self.__startProcess(interpreter,
+        process = self.__startProcess(
+            interpreter,
             [debugClient, noencoding, str(port), redirect, ipaddr],
             clientEnv)
         if process is None:
-            E5MessageBox.critical(None,
+            E5MessageBox.critical(
+                None,
                 self.trUtf8("Start Debugger"),
                 self.trUtf8(
                     """<p>The debugger backend could not be started.</p>"""))
@@ -859,9 +868,11 @@
                     isCall = event.lower() == "c"
                     fromFile, fromLineno, fromFunc = fromStr.rsplit(":", 2)
                     toFile, toLineno, toFunc = toStr.rsplit(":", 2)
-                    self.debugServer.signalClientCallTrace(isCall,
-                        fromFile, fromLineno, fromFunc,
-                        toFile, toLineno, toFunc)
+                    self.debugServer.signalClientCallTrace(isCall, fromFile,
+                                                           fromLineno,
+                                                           fromFunc,
+                                                           toFile, toLineno,
+                                                           toFunc)
                     continue
                 
                 if resp == DebugProtocol.ResponseThreadList:

eric ide

mercurial