Fixed a porting bug in DebugUI.

Sun, 17 Jan 2010 18:32:05 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 17 Jan 2010 18:32:05 +0000
changeset 73
82ae64337481
parent 72
015c7e35bd84
child 74
f0c0e4638a0f

Fixed a porting bug in DebugUI.

Debugger/DebugUI.py file | annotate | diff | comparison | revisions
--- a/Debugger/DebugUI.py	Sun Jan 17 15:23:00 2010 +0000
+++ b/Debugger/DebugUI.py	Sun Jan 17 18:32:05 2010 +0000
@@ -1416,7 +1416,7 @@
             
             if not doNotStart:
                 if runProject and self.project.getProjectType() == "E4Plugin":
-                    argv.insert(0, "--plugin=%s " % fn)
+                    argv = "--plugin=%s %s" % (fn, argv)
                     fn = os.path.join(getConfig('ericDir'), "eric5.py")
                 
                 # Ask the client to open the new program.
@@ -1520,7 +1520,7 @@
             
             if not doNotStart:
                 if runProject and self.project.getProjectType() == "E4Plugin":
-                    argv.insert(0, "--plugin=%s " % fn)
+                    argv = "--plugin=%s %s" % (fn, argv)
                     fn = os.path.join(getConfig('ericDir'), "eric5.py")
                 
                 # Ask the client to open the new program.
@@ -1620,7 +1620,7 @@
             
             if not doNotStart:
                 if runProject and self.project.getProjectType() == "E4Plugin":
-                    argv.insert(0, "--plugin=%s " % fn)
+                    argv = "--plugin=%s %s" % (fn, argv)
                     fn = os.path.join(getConfig('ericDir'), "eric5.py")
                 
                 # Ask the client to open the new program.
@@ -1734,7 +1734,7 @@
             
             if not doNotStart:
                 if debugProject and self.project.getProjectType() == "E4Plugin":
-                    argv.insert(0, "--plugin=%s " % fn)
+                    argv = "--plugin=%s %s" % (fn, argv)
                     fn = os.path.join(getConfig('ericDir'), "eric5.py")
                     tracePython = True # override flag because it must be true
                 
@@ -1785,7 +1785,7 @@
         
         if not doNotStart:
             if forProject and self.project.getProjectType() == "E4Plugin":
-                argv.insert(0, "--plugin=%s " % fn)
+                argv = "--plugin=%s %s" % (fn, argv)
                 fn = os.path.join(getConfig('ericDir'), "eric5.py")
             
             if self.lastStartAction in [1, 2]:
@@ -1978,4 +1978,4 @@
         
         @return list of all actions (list of E5Action)
         """
-        return self.actions[:]
\ No newline at end of file
+        return self.actions[:]

eric ide

mercurial