src/eric7/Project/Project.py

branch
eric7
changeset 10321
4a017fdf316f
parent 10320
ff28050f5dec
child 10349
df7edc29cbfb
child 10373
093dcebe5ecb
equal deleted inserted replaced
10320:ff28050f5dec 10321:4a017fdf316f
503 self.vcsRequested = False 503 self.vcsRequested = False
504 self.dbgVirtualEnv = "" 504 self.dbgVirtualEnv = ""
505 self.dbgCmdline = "" 505 self.dbgCmdline = ""
506 self.dbgWd = "" 506 self.dbgWd = ""
507 self.dbgEnv = "" 507 self.dbgEnv = ""
508 self.dbgReportExceptions = True
509 self.dbgExcList = [] 508 self.dbgExcList = []
510 self.dbgExcIgnoreList = [] 509 self.dbgExcIgnoreList = []
511 self.dbgAutoClearShell = True 510 self.dbgAutoClearShell = True
512 self.dbgTracePython = False 511 self.dbgTracePython = False
513 self.dbgAutoContinue = True 512 self.dbgAutoContinue = True
513 self.dbgReportAllExceptions = False
514 self.dbgEnableMultiprocess = True 514 self.dbgEnableMultiprocess = True
515 self.dbgMultiprocessNoDebug = "" 515 self.dbgMultiprocessNoDebug = ""
516 self.dbgGlobalConfigOverride = { 516 self.dbgGlobalConfigOverride = {
517 "enable": False, 517 "enable": False,
518 "redirect": True, 518 "redirect": True,
1609 self, 1609 self,
1610 venvName, 1610 venvName,
1611 argv, 1611 argv,
1612 wd, 1612 wd,
1613 env, 1613 env,
1614 excReporting,
1615 excList, 1614 excList,
1616 excIgnoreList, 1615 excIgnoreList,
1617 autoClearShell, 1616 autoClearShell,
1618 tracePython=None, 1617 tracePython=None,
1619 autoContinue=None, 1618 autoContinue=None,
1619 reportAllExceptions=None,
1620 enableMultiprocess=None, 1620 enableMultiprocess=None,
1621 multiprocessNoDebug=None, 1621 multiprocessNoDebug=None,
1622 configOverride=None, 1622 configOverride=None,
1623 ): 1623 ):
1624 """ 1624 """
1630 @type str 1630 @type str
1631 @param wd working directory 1631 @param wd working directory
1632 @type str 1632 @type str
1633 @param env environment setting 1633 @param env environment setting
1634 @type str 1634 @type str
1635 @param excReporting flag indicating the highlighting of exceptions
1636 @type bool
1637 @param excList list of exceptions to be highlighted 1635 @param excList list of exceptions to be highlighted
1638 @type list of str 1636 @type list of str
1639 @param excIgnoreList list of exceptions to be ignored 1637 @param excIgnoreList list of exceptions to be ignored
1640 @type list of str 1638 @type list of str
1641 @param autoClearShell flag indicating, that the interpreter window 1639 @param autoClearShell flag indicating, that the interpreter window
1645 traced as well 1643 traced as well
1646 @type bool 1644 @type bool
1647 @param autoContinue flag indicating, that the debugger should not 1645 @param autoContinue flag indicating, that the debugger should not
1648 stop at the first executable line 1646 stop at the first executable line
1649 @type bool 1647 @type bool
1648 @param reportAllExceptions flag indicating to report all exceptions
1649 instead of unhandled exceptions only
1650 @type bool
1650 @param enableMultiprocess flag indicating, that the debugger should 1651 @param enableMultiprocess flag indicating, that the debugger should
1651 run in multi process mode 1652 run in multi process mode
1652 @type bool 1653 @type bool
1653 @param multiprocessNoDebug list of programs not to be debugged in 1654 @param multiprocessNoDebug list of programs not to be debugged in
1654 multi process mode 1655 multi process mode
1659 """ 1660 """
1660 self.dbgVirtualEnv = venvName 1661 self.dbgVirtualEnv = venvName
1661 self.dbgCmdline = argv 1662 self.dbgCmdline = argv
1662 self.dbgWd = wd 1663 self.dbgWd = wd
1663 self.dbgEnv = env 1664 self.dbgEnv = env
1664 self.dbgReportExceptions = excReporting
1665 self.dbgExcList = excList[:] # keep a copy of the list 1665 self.dbgExcList = excList[:] # keep a copy of the list
1666 self.dbgExcIgnoreList = excIgnoreList[:] # keep a copy of the list 1666 self.dbgExcIgnoreList = excIgnoreList[:] # keep a copy of the list
1667 self.dbgAutoClearShell = autoClearShell 1667 self.dbgAutoClearShell = autoClearShell
1668 if tracePython is not None: 1668 if tracePython is not None:
1669 self.dbgTracePython = tracePython 1669 self.dbgTracePython = tracePython
1670 if autoContinue is not None: 1670 if autoContinue is not None:
1671 self.dbgAutoContinue = autoContinue 1671 self.dbgAutoContinue = autoContinue
1672 if reportAllExceptions is not None:
1673 self.dbgReportAllExceptions = reportAllExceptions
1672 if enableMultiprocess is not None: 1674 if enableMultiprocess is not None:
1673 self.dbgEnableMultiprocess = enableMultiprocess 1675 self.dbgEnableMultiprocess = enableMultiprocess
1674 if multiprocessNoDebug is not None: 1676 if multiprocessNoDebug is not None:
1675 self.dbgMultiprocessNoDebug = multiprocessNoDebug 1677 self.dbgMultiprocessNoDebug = multiprocessNoDebug
1676 if configOverride is not None: 1678 if configOverride is not None:

eric ide

mercurial