src/eric7/Debugger/DebugUI.py

branch
eric7
changeset 9409
fab36282c912
parent 9382
fb89c1dc9825
child 9413
80c06d472826
equal deleted inserted replaced
9408:e993c39097d3 9409:fab36282c912
2092 self.viewmanager.unhighlight() 2092 self.viewmanager.unhighlight()
2093 2093
2094 if not doNotStart: 2094 if not doNotStart:
2095 if runProject and self.project.getProjectType() in ["E7Plugin"]: 2095 if runProject and self.project.getProjectType() in ["E7Plugin"]:
2096 argv = '--plugin="{0}" {1}'.format(fn, argv) 2096 argv = '--plugin="{0}" {1}'.format(fn, argv)
2097 fn = os.path.join(os.path.dirname(__file__), "..", "eric7_ide.py") 2097 fn = "" # script name of the eric IDE is set in debug client
2098 2098
2099 self.debugViewer.initCallStackViewer(runProject) 2099 self.debugViewer.initCallStackViewer(runProject)
2100 2100
2101 # Ask the client to open the new program. 2101 # Ask the client to open the new program.
2102 self.debugServer.remoteCoverage( 2102 self.debugServer.remoteCoverage(
2296 self.viewmanager.unhighlight() 2296 self.viewmanager.unhighlight()
2297 2297
2298 if not doNotStart: 2298 if not doNotStart:
2299 if runProject and self.project.getProjectType() in ["E7Plugin"]: 2299 if runProject and self.project.getProjectType() in ["E7Plugin"]:
2300 argv = '--plugin="{0}" {1}'.format(fn, argv) 2300 argv = '--plugin="{0}" {1}'.format(fn, argv)
2301 fn = os.path.join(os.path.dirname(__file__), "..", "eric7_ide.py") 2301 fn = "" # script name of the eric IDE is set in debug client
2302 2302
2303 self.debugViewer.initCallStackViewer(runProject) 2303 self.debugViewer.initCallStackViewer(runProject)
2304 2304
2305 # Ask the client to open the new program. 2305 # Ask the client to open the new program.
2306 self.debugServer.remoteProfile( 2306 self.debugServer.remoteProfile(
2492 self.viewmanager.unhighlight() 2492 self.viewmanager.unhighlight()
2493 2493
2494 if not doNotStart: 2494 if not doNotStart:
2495 if runProject and self.project.getProjectType() in ["E7Plugin"]: 2495 if runProject and self.project.getProjectType() in ["E7Plugin"]:
2496 argv = '--plugin="{0}" {1}'.format(fn, argv) 2496 argv = '--plugin="{0}" {1}'.format(fn, argv)
2497 fn = os.path.join(os.path.dirname(__file__), "..", "eric7_ide.py") 2497 fn = "" # script name of the eric IDE is set in debug client
2498 2498
2499 self.debugViewer.initCallStackViewer(runProject) 2499 self.debugViewer.initCallStackViewer(runProject)
2500 2500
2501 # Ask the client to open the new program. 2501 # Ask the client to open the new program.
2502 self.debugServer.remoteRun( 2502 self.debugServer.remoteRun(
2711 self.viewmanager.unhighlight() 2711 self.viewmanager.unhighlight()
2712 2712
2713 if not doNotStart: 2713 if not doNotStart:
2714 if debugProject and self.project.getProjectType() in ["E7Plugin"]: 2714 if debugProject and self.project.getProjectType() in ["E7Plugin"]:
2715 argv = '--plugin="{0}" {1}'.format(fn, argv) 2715 argv = '--plugin="{0}" {1}'.format(fn, argv)
2716 fn = os.path.join(os.path.dirname(__file__), "..", "eric7_ide.py") 2716 fn = "" # script name of the eric IDE is set in debug client
2717 tracePython = True # override flag because it must be true 2717 tracePython = True # override flag because it must be true
2718 2718
2719 self.debugViewer.initCallStackViewer(debugProject) 2719 self.debugViewer.initCallStackViewer(debugProject)
2720 2720
2721 # Ask the client to send call trace info 2721 # Ask the client to send call trace info
2808 self.viewmanager.unhighlight() 2808 self.viewmanager.unhighlight()
2809 2809
2810 if not doNotStart: 2810 if not doNotStart:
2811 if forProject and self.project.getProjectType() in ["E7Plugin"]: 2811 if forProject and self.project.getProjectType() in ["E7Plugin"]:
2812 argv = '--plugin="{0}" {1}'.format(fn, argv) 2812 argv = '--plugin="{0}" {1}'.format(fn, argv)
2813 fn = os.path.join(os.path.dirname(__file__), "..", "eric7_ide.py") 2813 fn = "" # script name of the eric IDE is set in debug client
2814 2814
2815 self.debugViewer.initCallStackViewer(forProject) 2815 self.debugViewer.initCallStackViewer(forProject)
2816 2816
2817 if self.lastStartAction in [1, 2]: 2817 if self.lastStartAction in [1, 2]:
2818 # Ask the client to send call trace info 2818 # Ask the client to send call trace info

eric ide

mercurial