Debugger/DebugUI.py

changeset 4303
57b5de82ce05
parent 4256
5c61205c4bd7
child 4366
9445c7cb991f
equal deleted inserted replaced
4302:748f4945462b 4303:57b5de82ce05
1566 # Hide all error highlights 1566 # Hide all error highlights
1567 self.viewmanager.unhighlight() 1567 self.viewmanager.unhighlight()
1568 1568
1569 if not doNotStart: 1569 if not doNotStart:
1570 if runProject and self.project.getProjectType() in [ 1570 if runProject and self.project.getProjectType() in [
1571 "E4Plugin", "E6Plugin"]: 1571 "E6Plugin"]:
1572 argv = '--plugin="{0}" {1}'.format(fn, argv) 1572 argv = '--plugin="{0}" {1}'.format(fn, argv)
1573 fn = os.path.join(getConfig('ericDir'), "eric6.py") 1573 fn = os.path.join(getConfig('ericDir'), "eric6.py")
1574 1574
1575 self.debugViewer.initCallStackViewer(runProject) 1575 self.debugViewer.initCallStackViewer(runProject)
1576 1576
1685 # Hide all error highlights 1685 # Hide all error highlights
1686 self.viewmanager.unhighlight() 1686 self.viewmanager.unhighlight()
1687 1687
1688 if not doNotStart: 1688 if not doNotStart:
1689 if runProject and self.project.getProjectType() in [ 1689 if runProject and self.project.getProjectType() in [
1690 "E4Plugin", "E6Plugin"]: 1690 "E6Plugin"]:
1691 argv = '--plugin="{0}" {1}'.format(fn, argv) 1691 argv = '--plugin="{0}" {1}'.format(fn, argv)
1692 fn = os.path.join(getConfig('ericDir'), "eric6.py") 1692 fn = os.path.join(getConfig('ericDir'), "eric6.py")
1693 1693
1694 self.debugViewer.initCallStackViewer(runProject) 1694 self.debugViewer.initCallStackViewer(runProject)
1695 1695
1807 # Hide all error highlights 1807 # Hide all error highlights
1808 self.viewmanager.unhighlight() 1808 self.viewmanager.unhighlight()
1809 1809
1810 if not doNotStart: 1810 if not doNotStart:
1811 if runProject and self.project.getProjectType() in [ 1811 if runProject and self.project.getProjectType() in [
1812 "E4Plugin", "E6Plugin"]: 1812 "E6Plugin"]:
1813 argv = '--plugin="{0}" {1}'.format(fn, argv) 1813 argv = '--plugin="{0}" {1}'.format(fn, argv)
1814 fn = os.path.join(getConfig('ericDir'), "eric6.py") 1814 fn = os.path.join(getConfig('ericDir'), "eric6.py")
1815 1815
1816 self.debugViewer.initCallStackViewer(runProject) 1816 self.debugViewer.initCallStackViewer(runProject)
1817 1817
1936 # Hide all error highlights 1936 # Hide all error highlights
1937 self.viewmanager.unhighlight() 1937 self.viewmanager.unhighlight()
1938 1938
1939 if not doNotStart: 1939 if not doNotStart:
1940 if debugProject and self.project.getProjectType() in [ 1940 if debugProject and self.project.getProjectType() in [
1941 "E4Plugin", "E6Plugin"]: 1941 "E6Plugin"]:
1942 argv = '--plugin="{0}" {1}'.format(fn, argv) 1942 argv = '--plugin="{0}" {1}'.format(fn, argv)
1943 fn = os.path.join(getConfig('ericDir'), "eric6.py") 1943 fn = os.path.join(getConfig('ericDir'), "eric6.py")
1944 tracePython = True # override flag because it must be true 1944 tracePython = True # override flag because it must be true
1945 1945
1946 self.debugViewer.initCallStackViewer(debugProject) 1946 self.debugViewer.initCallStackViewer(debugProject)
1999 # Hide all error highlights 1999 # Hide all error highlights
2000 self.viewmanager.unhighlight() 2000 self.viewmanager.unhighlight()
2001 2001
2002 if not doNotStart: 2002 if not doNotStart:
2003 if forProject and self.project.getProjectType() in [ 2003 if forProject and self.project.getProjectType() in [
2004 "E4Plugin", "E6Plugin"]: 2004 "E6Plugin"]:
2005 argv = '--plugin="{0}" {1}'.format(fn, argv) 2005 argv = '--plugin="{0}" {1}'.format(fn, argv)
2006 fn = os.path.join(getConfig('ericDir'), "eric6.py") 2006 fn = os.path.join(getConfig('ericDir'), "eric6.py")
2007 2007
2008 self.debugViewer.initCallStackViewer(forProject) 2008 self.debugViewer.initCallStackViewer(forProject)
2009 2009

eric ide

mercurial