eric7/Debugger/DebugUI.py

branch
eric7
changeset 8314
e3642a6a1e71
parent 8312
800c432b34c8
child 8318
962bce857696
equal deleted inserted replaced
8313:dac33c7fce07 8314:e3642a6a1e71
28 import Preferences 28 import Preferences
29 import Utilities 29 import Utilities
30 import UI.PixmapCache 30 import UI.PixmapCache
31 import UI.Config 31 import UI.Config
32 32
33 from eric6config import getConfig 33 from eric7config import getConfig
34 34
35 35
36 class DebugUI(QObject): 36 class DebugUI(QObject):
37 """ 37 """
38 Class implementing the debugger part of the UI. 38 Class implementing the debugger part of the UI.
1778 1778
1779 if not doNotStart: 1779 if not doNotStart:
1780 if runProject and self.project.getProjectType() in [ 1780 if runProject and self.project.getProjectType() in [
1781 "E6Plugin"]: 1781 "E6Plugin"]:
1782 argv = '--plugin="{0}" {1}'.format(fn, argv) 1782 argv = '--plugin="{0}" {1}'.format(fn, argv)
1783 fn = os.path.join(getConfig('ericDir'), "eric6.py") 1783 fn = os.path.join(getConfig('ericDir'), "eric7.py")
1784 1784
1785 self.debugViewer.initCallStackViewer(runProject) 1785 self.debugViewer.initCallStackViewer(runProject)
1786 1786
1787 # Ask the client to open the new program. 1787 # Ask the client to open the new program.
1788 self.debugServer.remoteCoverage( 1788 self.debugServer.remoteCoverage(
1923 1923
1924 if not doNotStart: 1924 if not doNotStart:
1925 if runProject and self.project.getProjectType() in [ 1925 if runProject and self.project.getProjectType() in [
1926 "E6Plugin"]: 1926 "E6Plugin"]:
1927 argv = '--plugin="{0}" {1}'.format(fn, argv) 1927 argv = '--plugin="{0}" {1}'.format(fn, argv)
1928 fn = os.path.join(getConfig('ericDir'), "eric6.py") 1928 fn = os.path.join(getConfig('ericDir'), "eric7.py")
1929 1929
1930 self.debugViewer.initCallStackViewer(runProject) 1930 self.debugViewer.initCallStackViewer(runProject)
1931 1931
1932 # Ask the client to open the new program. 1932 # Ask the client to open the new program.
1933 self.debugServer.remoteProfile( 1933 self.debugServer.remoteProfile(
2065 2065
2066 if not doNotStart: 2066 if not doNotStart:
2067 if runProject and self.project.getProjectType() in [ 2067 if runProject and self.project.getProjectType() in [
2068 "E6Plugin"]: 2068 "E6Plugin"]:
2069 argv = '--plugin="{0}" {1}'.format(fn, argv) 2069 argv = '--plugin="{0}" {1}'.format(fn, argv)
2070 fn = os.path.join(getConfig('ericDir'), "eric6.py") 2070 fn = os.path.join(getConfig('ericDir'), "eric7.py")
2071 2071
2072 self.debugViewer.initCallStackViewer(runProject) 2072 self.debugViewer.initCallStackViewer(runProject)
2073 2073
2074 # Ask the client to open the new program. 2074 # Ask the client to open the new program.
2075 self.debugServer.remoteRun( 2075 self.debugServer.remoteRun(
2223 2223
2224 if not doNotStart: 2224 if not doNotStart:
2225 if debugProject and self.project.getProjectType() in [ 2225 if debugProject and self.project.getProjectType() in [
2226 "E6Plugin"]: 2226 "E6Plugin"]:
2227 argv = '--plugin="{0}" {1}'.format(fn, argv) 2227 argv = '--plugin="{0}" {1}'.format(fn, argv)
2228 fn = os.path.join(getConfig('ericDir'), "eric6.py") 2228 fn = os.path.join(getConfig('ericDir'), "eric7.py")
2229 tracePython = True # override flag because it must be true 2229 tracePython = True # override flag because it must be true
2230 2230
2231 self.debugViewer.initCallStackViewer(debugProject) 2231 self.debugViewer.initCallStackViewer(debugProject)
2232 2232
2233 # Ask the client to send call trace info 2233 # Ask the client to send call trace info
2310 2310
2311 if not doNotStart: 2311 if not doNotStart:
2312 if forProject and self.project.getProjectType() in [ 2312 if forProject and self.project.getProjectType() in [
2313 "E6Plugin"]: 2313 "E6Plugin"]:
2314 argv = '--plugin="{0}" {1}'.format(fn, argv) 2314 argv = '--plugin="{0}" {1}'.format(fn, argv)
2315 fn = os.path.join(getConfig('ericDir'), "eric6.py") 2315 fn = os.path.join(getConfig('ericDir'), "eric7.py")
2316 2316
2317 self.debugViewer.initCallStackViewer(forProject) 2317 self.debugViewer.initCallStackViewer(forProject)
2318 2318
2319 if self.lastStartAction in [1, 2]: 2319 if self.lastStartAction in [1, 2]:
2320 # Ask the client to send call trace info 2320 # Ask the client to send call trace info

eric ide

mercurial