1712 doNotStart = True |
1712 doNotStart = True |
1713 |
1713 |
1714 # save the info for later use |
1714 # save the info for later use |
1715 self.project.setDbgInfo( |
1715 self.project.setDbgInfo( |
1716 lastUsedVenvName, argv, wd, env, exceptions, self.excList, |
1716 lastUsedVenvName, argv, wd, env, exceptions, self.excList, |
1717 self.excIgnoreList, clearShell) |
1717 self.excIgnoreList, clearShell |
|
1718 ) |
1718 |
1719 |
1719 self.lastStartAction = 6 |
1720 self.lastStartAction = 6 |
1720 self.clientType = self.project.getProjectLanguage() |
1721 self.clientType = self.project.getProjectLanguage() |
1721 else: |
1722 else: |
1722 editor = self.viewmanager.activeWindow() |
1723 editor = self.viewmanager.activeWindow() |
1848 doNotStart = True |
1849 doNotStart = True |
1849 |
1850 |
1850 # save the info for later use |
1851 # save the info for later use |
1851 self.project.setDbgInfo( |
1852 self.project.setDbgInfo( |
1852 lastUsedVenvName, argv, wd, env, exceptions, self.excList, |
1853 lastUsedVenvName, argv, wd, env, exceptions, self.excList, |
1853 self.excIgnoreList, clearShell) |
1854 self.excIgnoreList, clearShell |
|
1855 ) |
1854 |
1856 |
1855 self.lastStartAction = 8 |
1857 self.lastStartAction = 8 |
1856 self.clientType = self.project.getProjectLanguage() |
1858 self.clientType = self.project.getProjectLanguage() |
1857 else: |
1859 else: |
1858 editor = self.viewmanager.activeWindow() |
1860 editor = self.viewmanager.activeWindow() |
1983 doNotStart = True |
1985 doNotStart = True |
1984 |
1986 |
1985 # save the info for later use |
1987 # save the info for later use |
1986 self.project.setDbgInfo( |
1988 self.project.setDbgInfo( |
1987 lastUsedVenvName, argv, wd, env, exceptions, self.excList, |
1989 lastUsedVenvName, argv, wd, env, exceptions, self.excList, |
1988 self.excIgnoreList, clearShell) |
1990 self.excIgnoreList, clearShell |
|
1991 ) |
1989 |
1992 |
1990 self.lastStartAction = 4 |
1993 self.lastStartAction = 4 |
1991 self.clientType = self.project.getProjectLanguage() |
1994 self.clientType = self.project.getProjectLanguage() |
1992 else: |
1995 else: |
1993 editor = self.viewmanager.activeWindow() |
1996 editor = self.viewmanager.activeWindow() |
2121 |
2124 |
2122 # save the info for later use |
2125 # save the info for later use |
2123 self.project.setDbgInfo( |
2126 self.project.setDbgInfo( |
2124 lastUsedVenvName, argv, wd, env, exceptions, self.excList, |
2127 lastUsedVenvName, argv, wd, env, exceptions, self.excList, |
2125 self.excIgnoreList, clearShell, tracePython=tracePython, |
2128 self.excIgnoreList, clearShell, tracePython=tracePython, |
2126 autoContinue=self.autoContinue) |
2129 autoContinue=autoContinue, |
|
2130 enableMultiprocess=enableMultiprocess, |
|
2131 multiprocessNoDebug=multiprocessNoDebug |
|
2132 ) |
2127 |
2133 |
2128 self.lastStartAction = 2 |
2134 self.lastStartAction = 2 |
2129 self.clientType = self.project.getProjectLanguage() |
2135 self.clientType = self.project.getProjectLanguage() |
2130 else: |
2136 else: |
2131 editor = self.viewmanager.activeWindow() |
2137 editor = self.viewmanager.activeWindow() |
2530 def setMultiprocessNoDebugHistory(self, noDebugList, clearHistories=False, |
2536 def setMultiprocessNoDebugHistory(self, noDebugList, clearHistories=False, |
2531 history=None): |
2537 history=None): |
2532 """ |
2538 """ |
2533 Public slot to initialize the no debug list history. |
2539 Public slot to initialize the no debug list history. |
2534 |
2540 |
2535 @param noDebugList whitespace separated list of progframs not to be |
2541 @param noDebugList whitespace separated list of programs not to be |
2536 debugged |
2542 debugged |
2537 @type str |
2543 @type str |
2538 @param clearHistories flag indicating, that the list should be cleared |
2544 @param clearHistories flag indicating, that the list should be cleared |
2539 @type bool |
2545 @type bool |
2540 @param history list of history entries to be set |
2546 @param history list of history entries to be set |
2546 self.multiprocessNoDebugHistory = history[:] |
2552 self.multiprocessNoDebugHistory = history[:] |
2547 else: |
2553 else: |
2548 if noDebugList in self.multiprocessNoDebugHistory: |
2554 if noDebugList in self.multiprocessNoDebugHistory: |
2549 self.multiprocessNoDebugHistory.remove(noDebugList) |
2555 self.multiprocessNoDebugHistory.remove(noDebugList) |
2550 self.multiprocessNoDebugHistory.insert(0, noDebugList) |
2556 self.multiprocessNoDebugHistory.insert(0, noDebugList) |
|
2557 |
|
2558 def setEnableMultiprocess(self, enableMultiprocess): |
|
2559 """ |
|
2560 Public slot to initialize the enableMultiprocess flag. |
|
2561 |
|
2562 @param enableMultiprocess flag indicating, that the debugger should be |
|
2563 run in multi process mode |
|
2564 @type bool |
|
2565 """ |
|
2566 self.enableMultiprocess = enableMultiprocess |