Debugger/DebugUI.py

changeset 73
82ae64337481
parent 55
b5c84934de9c
child 112
16893e193e9d
equal deleted inserted replaced
72:015c7e35bd84 73:82ae64337481
1414 # Hide all error highlights 1414 # Hide all error highlights
1415 self.viewmanager.unhighlight() 1415 self.viewmanager.unhighlight()
1416 1416
1417 if not doNotStart: 1417 if not doNotStart:
1418 if runProject and self.project.getProjectType() == "E4Plugin": 1418 if runProject and self.project.getProjectType() == "E4Plugin":
1419 argv.insert(0, "--plugin=%s " % fn) 1419 argv = "--plugin=%s %s" % (fn, argv)
1420 fn = os.path.join(getConfig('ericDir'), "eric5.py") 1420 fn = os.path.join(getConfig('ericDir'), "eric5.py")
1421 1421
1422 # Ask the client to open the new program. 1422 # Ask the client to open the new program.
1423 self.debugServer.remoteCoverage(fn, argv, wd, env, 1423 self.debugServer.remoteCoverage(fn, argv, wd, env,
1424 autoClearShell = self.autoClearShell, erase = eraseCoverage, 1424 autoClearShell = self.autoClearShell, erase = eraseCoverage,
1518 # Hide all error highlights 1518 # Hide all error highlights
1519 self.viewmanager.unhighlight() 1519 self.viewmanager.unhighlight()
1520 1520
1521 if not doNotStart: 1521 if not doNotStart:
1522 if runProject and self.project.getProjectType() == "E4Plugin": 1522 if runProject and self.project.getProjectType() == "E4Plugin":
1523 argv.insert(0, "--plugin=%s " % fn) 1523 argv = "--plugin=%s %s" % (fn, argv)
1524 fn = os.path.join(getConfig('ericDir'), "eric5.py") 1524 fn = os.path.join(getConfig('ericDir'), "eric5.py")
1525 1525
1526 # Ask the client to open the new program. 1526 # Ask the client to open the new program.
1527 self.debugServer.remoteProfile(fn, argv, wd, env, 1527 self.debugServer.remoteProfile(fn, argv, wd, env,
1528 autoClearShell = self.autoClearShell, erase = eraseTimings, 1528 autoClearShell = self.autoClearShell, erase = eraseTimings,
1618 # Hide all error highlights 1618 # Hide all error highlights
1619 self.viewmanager.unhighlight() 1619 self.viewmanager.unhighlight()
1620 1620
1621 if not doNotStart: 1621 if not doNotStart:
1622 if runProject and self.project.getProjectType() == "E4Plugin": 1622 if runProject and self.project.getProjectType() == "E4Plugin":
1623 argv.insert(0, "--plugin=%s " % fn) 1623 argv = "--plugin=%s %s" % (fn, argv)
1624 fn = os.path.join(getConfig('ericDir'), "eric5.py") 1624 fn = os.path.join(getConfig('ericDir'), "eric5.py")
1625 1625
1626 # Ask the client to open the new program. 1626 # Ask the client to open the new program.
1627 self.debugServer.remoteRun(fn, argv, wd, env, 1627 self.debugServer.remoteRun(fn, argv, wd, env,
1628 autoClearShell = self.autoClearShell, forProject = runProject, 1628 autoClearShell = self.autoClearShell, forProject = runProject,
1732 # Hide all error highlights 1732 # Hide all error highlights
1733 self.viewmanager.unhighlight() 1733 self.viewmanager.unhighlight()
1734 1734
1735 if not doNotStart: 1735 if not doNotStart:
1736 if debugProject and self.project.getProjectType() == "E4Plugin": 1736 if debugProject and self.project.getProjectType() == "E4Plugin":
1737 argv.insert(0, "--plugin=%s " % fn) 1737 argv = "--plugin=%s %s" % (fn, argv)
1738 fn = os.path.join(getConfig('ericDir'), "eric5.py") 1738 fn = os.path.join(getConfig('ericDir'), "eric5.py")
1739 tracePython = True # override flag because it must be true 1739 tracePython = True # override flag because it must be true
1740 1740
1741 # Ask the client to open the new program. 1741 # Ask the client to open the new program.
1742 self.debugServer.remoteLoad(fn, argv, wd, env, 1742 self.debugServer.remoteLoad(fn, argv, wd, env,
1783 # Hide all error highlights 1783 # Hide all error highlights
1784 self.viewmanager.unhighlight() 1784 self.viewmanager.unhighlight()
1785 1785
1786 if not doNotStart: 1786 if not doNotStart:
1787 if forProject and self.project.getProjectType() == "E4Plugin": 1787 if forProject and self.project.getProjectType() == "E4Plugin":
1788 argv.insert(0, "--plugin=%s " % fn) 1788 argv = "--plugin=%s %s" % (fn, argv)
1789 fn = os.path.join(getConfig('ericDir'), "eric5.py") 1789 fn = os.path.join(getConfig('ericDir'), "eric5.py")
1790 1790
1791 if self.lastStartAction in [1, 2]: 1791 if self.lastStartAction in [1, 2]:
1792 # Ask the client to debug the new program. 1792 # Ask the client to debug the new program.
1793 self.debugServer.remoteLoad(fn, argv, wd, env, 1793 self.debugServer.remoteLoad(fn, argv, wd, env,

eric ide

mercurial