--- 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[:]