1777 # Hide all error highlights |
1777 # Hide all error highlights |
1778 self.viewmanager.unhighlight() |
1778 self.viewmanager.unhighlight() |
1779 |
1779 |
1780 if not doNotStart: |
1780 if not doNotStart: |
1781 if runProject and self.project.getProjectType() in [ |
1781 if runProject and self.project.getProjectType() in [ |
1782 "E6Plugin"]: |
1782 "E7Plugin"]: |
1783 argv = '--plugin="{0}" {1}'.format(fn, argv) |
1783 argv = '--plugin="{0}" {1}'.format(fn, argv) |
1784 fn = os.path.join(getConfig('ericDir'), "eric7.py") |
1784 fn = os.path.join(getConfig('ericDir'), "eric7.py") |
1785 |
1785 |
1786 self.debugViewer.initCallStackViewer(runProject) |
1786 self.debugViewer.initCallStackViewer(runProject) |
1787 |
1787 |
1922 # Hide all error highlights |
1922 # Hide all error highlights |
1923 self.viewmanager.unhighlight() |
1923 self.viewmanager.unhighlight() |
1924 |
1924 |
1925 if not doNotStart: |
1925 if not doNotStart: |
1926 if runProject and self.project.getProjectType() in [ |
1926 if runProject and self.project.getProjectType() in [ |
1927 "E6Plugin"]: |
1927 "E7Plugin"]: |
1928 argv = '--plugin="{0}" {1}'.format(fn, argv) |
1928 argv = '--plugin="{0}" {1}'.format(fn, argv) |
1929 fn = os.path.join(getConfig('ericDir'), "eric7.py") |
1929 fn = os.path.join(getConfig('ericDir'), "eric7.py") |
1930 |
1930 |
1931 self.debugViewer.initCallStackViewer(runProject) |
1931 self.debugViewer.initCallStackViewer(runProject) |
1932 |
1932 |
2064 # Hide all error highlights |
2064 # Hide all error highlights |
2065 self.viewmanager.unhighlight() |
2065 self.viewmanager.unhighlight() |
2066 |
2066 |
2067 if not doNotStart: |
2067 if not doNotStart: |
2068 if runProject and self.project.getProjectType() in [ |
2068 if runProject and self.project.getProjectType() in [ |
2069 "E6Plugin"]: |
2069 "E7Plugin"]: |
2070 argv = '--plugin="{0}" {1}'.format(fn, argv) |
2070 argv = '--plugin="{0}" {1}'.format(fn, argv) |
2071 fn = os.path.join(getConfig('ericDir'), "eric7.py") |
2071 fn = os.path.join(getConfig('ericDir'), "eric7.py") |
2072 |
2072 |
2073 self.debugViewer.initCallStackViewer(runProject) |
2073 self.debugViewer.initCallStackViewer(runProject) |
2074 |
2074 |
2222 # Hide all error highlights |
2222 # Hide all error highlights |
2223 self.viewmanager.unhighlight() |
2223 self.viewmanager.unhighlight() |
2224 |
2224 |
2225 if not doNotStart: |
2225 if not doNotStart: |
2226 if debugProject and self.project.getProjectType() in [ |
2226 if debugProject and self.project.getProjectType() in [ |
2227 "E6Plugin"]: |
2227 "E7Plugin"]: |
2228 argv = '--plugin="{0}" {1}'.format(fn, argv) |
2228 argv = '--plugin="{0}" {1}'.format(fn, argv) |
2229 fn = os.path.join(getConfig('ericDir'), "eric7.py") |
2229 fn = os.path.join(getConfig('ericDir'), "eric7.py") |
2230 tracePython = True # override flag because it must be true |
2230 tracePython = True # override flag because it must be true |
2231 |
2231 |
2232 self.debugViewer.initCallStackViewer(debugProject) |
2232 self.debugViewer.initCallStackViewer(debugProject) |
2309 # Hide all error highlights |
2309 # Hide all error highlights |
2310 self.viewmanager.unhighlight() |
2310 self.viewmanager.unhighlight() |
2311 |
2311 |
2312 if not doNotStart: |
2312 if not doNotStart: |
2313 if forProject and self.project.getProjectType() in [ |
2313 if forProject and self.project.getProjectType() in [ |
2314 "E6Plugin"]: |
2314 "E7Plugin"]: |
2315 argv = '--plugin="{0}" {1}'.format(fn, argv) |
2315 argv = '--plugin="{0}" {1}'.format(fn, argv) |
2316 fn = os.path.join(getConfig('ericDir'), "eric7.py") |
2316 fn = os.path.join(getConfig('ericDir'), "eric7.py") |
2317 |
2317 |
2318 self.debugViewer.initCallStackViewer(forProject) |
2318 self.debugViewer.initCallStackViewer(forProject) |
2319 |
2319 |