Debugger/DebugUI.py

changeset 3691
c473d6347610
parent 3670
f0cb7579c0b4
child 3974
01991e605ba0
equal deleted inserted replaced
3688:1b5dae8f0173 3691:c473d6347610
1563 1563
1564 # Hide all error highlights 1564 # Hide all error highlights
1565 self.viewmanager.unhighlight() 1565 self.viewmanager.unhighlight()
1566 1566
1567 if not doNotStart: 1567 if not doNotStart:
1568 if runProject and self.project.getProjectType() == "E4Plugin": 1568 if runProject and self.project.getProjectType() in [
1569 "E4Plugin", "E6Plugin"]:
1569 argv = '--plugin="{0}" {1}'.format(fn, argv) 1570 argv = '--plugin="{0}" {1}'.format(fn, argv)
1570 fn = os.path.join(getConfig('ericDir'), "eric6.py") 1571 fn = os.path.join(getConfig('ericDir'), "eric6.py")
1571 1572
1572 self.debugViewer.initCallStackViewer(runProject) 1573 self.debugViewer.initCallStackViewer(runProject)
1573 1574
1681 1682
1682 # Hide all error highlights 1683 # Hide all error highlights
1683 self.viewmanager.unhighlight() 1684 self.viewmanager.unhighlight()
1684 1685
1685 if not doNotStart: 1686 if not doNotStart:
1686 if runProject and self.project.getProjectType() == "E4Plugin": 1687 if runProject and self.project.getProjectType() in [
1688 "E4Plugin", "E6Plugin"]:
1687 argv = '--plugin="{0}" {1}'.format(fn, argv) 1689 argv = '--plugin="{0}" {1}'.format(fn, argv)
1688 fn = os.path.join(getConfig('ericDir'), "eric6.py") 1690 fn = os.path.join(getConfig('ericDir'), "eric6.py")
1689 1691
1690 self.debugViewer.initCallStackViewer(runProject) 1692 self.debugViewer.initCallStackViewer(runProject)
1691 1693
1802 1804
1803 # Hide all error highlights 1805 # Hide all error highlights
1804 self.viewmanager.unhighlight() 1806 self.viewmanager.unhighlight()
1805 1807
1806 if not doNotStart: 1808 if not doNotStart:
1807 if runProject and self.project.getProjectType() == "E4Plugin": 1809 if runProject and self.project.getProjectType() in [
1810 "E4Plugin", "E6Plugin"]:
1808 argv = '--plugin="{0}" {1}'.format(fn, argv) 1811 argv = '--plugin="{0}" {1}'.format(fn, argv)
1809 fn = os.path.join(getConfig('ericDir'), "eric6.py") 1812 fn = os.path.join(getConfig('ericDir'), "eric6.py")
1810 1813
1811 self.debugViewer.initCallStackViewer(runProject) 1814 self.debugViewer.initCallStackViewer(runProject)
1812 1815
1930 1933
1931 # Hide all error highlights 1934 # Hide all error highlights
1932 self.viewmanager.unhighlight() 1935 self.viewmanager.unhighlight()
1933 1936
1934 if not doNotStart: 1937 if not doNotStart:
1935 if debugProject and \ 1938 if debugProject and self.project.getProjectType() in [
1936 self.project.getProjectType() == "E4Plugin": 1939 "E4Plugin", "E6Plugin"]:
1937 argv = '--plugin="{0}" {1}'.format(fn, argv) 1940 argv = '--plugin="{0}" {1}'.format(fn, argv)
1938 fn = os.path.join(getConfig('ericDir'), "eric6.py") 1941 fn = os.path.join(getConfig('ericDir'), "eric6.py")
1939 tracePython = True # override flag because it must be true 1942 tracePython = True # override flag because it must be true
1940 1943
1941 self.debugViewer.initCallStackViewer(debugProject) 1944 self.debugViewer.initCallStackViewer(debugProject)
1993 1996
1994 # Hide all error highlights 1997 # Hide all error highlights
1995 self.viewmanager.unhighlight() 1998 self.viewmanager.unhighlight()
1996 1999
1997 if not doNotStart: 2000 if not doNotStart:
1998 if forProject and self.project.getProjectType() == "E4Plugin": 2001 if forProject and self.project.getProjectType() in [
2002 "E4Plugin", "E6Plugin"]:
1999 argv = '--plugin="{0}" {1}'.format(fn, argv) 2003 argv = '--plugin="{0}" {1}'.format(fn, argv)
2000 fn = os.path.join(getConfig('ericDir'), "eric6.py") 2004 fn = os.path.join(getConfig('ericDir'), "eric6.py")
2001 2005
2002 self.debugViewer.initCallStackViewer(forProject) 2006 self.debugViewer.initCallStackViewer(forProject)
2003 2007

eric ide

mercurial