eric6/Project/Project.py

changeset 8008
ae9ab1e150dc
parent 8000
47b15df088e4
child 8010
7ce2b8bb0d9b
child 8043
0acf98cd089a
equal deleted inserted replaced
8007:5b5e68ccca03 8008:ae9ab1e150dc
437 self.dbgExcList = [] 437 self.dbgExcList = []
438 self.dbgExcIgnoreList = [] 438 self.dbgExcIgnoreList = []
439 self.dbgAutoClearShell = True 439 self.dbgAutoClearShell = True
440 self.dbgTracePython = False 440 self.dbgTracePython = False
441 self.dbgAutoContinue = True 441 self.dbgAutoContinue = True
442 self.dbgEnableMultiprocess = True
443 self.dbgMultiprocessNoDebug = ""
442 444
443 self.pdata = { 445 self.pdata = {
444 "DESCRIPTION": "", 446 "DESCRIPTION": "",
445 "VERSION": "", 447 "VERSION": "",
446 "SOURCES": [], 448 "SOURCES": [],
1321 else: 1323 else:
1322 return self.debugProperties[key] 1324 return self.debugProperties[key]
1323 1325
1324 def setDbgInfo(self, venvName, argv, wd, env, excReporting, excList, 1326 def setDbgInfo(self, venvName, argv, wd, env, excReporting, excList,
1325 excIgnoreList, autoClearShell, tracePython=None, 1327 excIgnoreList, autoClearShell, tracePython=None,
1326 autoContinue=None): 1328 autoContinue=None, enableMultiprocess=None,
1329 multiprocessNoDebug=None):
1327 """ 1330 """
1328 Public method to set the debugging information. 1331 Public method to set the debugging information.
1329 1332
1330 @param venvName name of the virtual environment used 1333 @param venvName name of the virtual environment used
1331 @type str 1334 @type str
1348 traced as well 1351 traced as well
1349 @type bool 1352 @type bool
1350 @param autoContinue flag indicating, that the debugger should not 1353 @param autoContinue flag indicating, that the debugger should not
1351 stop at the first executable line 1354 stop at the first executable line
1352 @type bool 1355 @type bool
1356 @param enableMultiprocess flag indicating, that the debugger should
1357 run in multi process mode
1358 @type bool
1359 @param multiprocessNoDebug list of programs not to be debugged in
1360 multi process mode
1361 @type str
1353 """ 1362 """
1354 self.dbgVirtualEnv = venvName 1363 self.dbgVirtualEnv = venvName
1355 self.dbgCmdline = argv 1364 self.dbgCmdline = argv
1356 self.dbgWd = wd 1365 self.dbgWd = wd
1357 self.dbgEnv = env 1366 self.dbgEnv = env
1361 self.dbgAutoClearShell = autoClearShell 1370 self.dbgAutoClearShell = autoClearShell
1362 if tracePython is not None: 1371 if tracePython is not None:
1363 self.dbgTracePython = tracePython 1372 self.dbgTracePython = tracePython
1364 if autoContinue is not None: 1373 if autoContinue is not None:
1365 self.dbgAutoContinue = autoContinue 1374 self.dbgAutoContinue = autoContinue
1375 if enableMultiprocess is not None:
1376 self.dbgEnableMultiprocess = enableMultiprocess
1377 if multiprocessNoDebug is not None:
1378 self.dbgMultiprocessNoDebug = multiprocessNoDebug
1366 1379
1367 def getTranslationPattern(self): 1380 def getTranslationPattern(self):
1368 """ 1381 """
1369 Public method to get the translation pattern. 1382 Public method to get the translation pattern.
1370 1383

eric ide

mercurial