Project/Project.py

changeset 5899
0516f6548ca6
parent 5624
cdd346d8858b
child 5968
c5112b5cb7a9
equal deleted inserted replaced
5898:fc96d49f5fbf 5899:0516f6548ca6
408 self.subdirs = [""] 408 self.subdirs = [""]
409 # record the project dir as a relative path (i.e. empty path) 409 # record the project dir as a relative path (i.e. empty path)
410 self.otherssubdirs = [] 410 self.otherssubdirs = []
411 self.vcs = None 411 self.vcs = None
412 self.vcsRequested = False 412 self.vcsRequested = False
413 self.dbgInterpreter = ''
413 self.dbgCmdline = '' 414 self.dbgCmdline = ''
414 self.dbgWd = '' 415 self.dbgWd = ''
415 self.dbgEnv = '' 416 self.dbgEnv = ''
416 self.dbgReportExceptions = True 417 self.dbgReportExceptions = True
417 self.dbgExcList = [] 418 self.dbgExcList = []
1235 @param key key of the property (string) 1236 @param key key of the property (string)
1236 @return value of the property 1237 @return value of the property
1237 """ 1238 """
1238 return self.debugProperties[key] 1239 return self.debugProperties[key]
1239 1240
1240 def setDbgInfo(self, argv, wd, env, excReporting, excList, excIgnoreList, 1241 def setDbgInfo(self, interpreter, argv, wd, env, excReporting, excList,
1241 autoClearShell, tracePython=None, autoContinue=None): 1242 excIgnoreList, autoClearShell, tracePython=None,
1243 autoContinue=None):
1242 """ 1244 """
1243 Public method to set the debugging information. 1245 Public method to set the debugging information.
1244 1246
1247 @param interpreter interpreter to be used (string)
1245 @param argv command line arguments to be used (string) 1248 @param argv command line arguments to be used (string)
1246 @param wd working directory (string) 1249 @param wd working directory (string)
1247 @param env environment setting (string) 1250 @param env environment setting (string)
1248 @param excReporting flag indicating the highlighting of exceptions 1251 @param excReporting flag indicating the highlighting of exceptions
1249 @param excList list of exceptions to be highlighted (list of strings) 1252 @param excList list of exceptions to be highlighted (list of strings)
1253 @keyparam tracePython flag to indicate if the Python library should be 1256 @keyparam tracePython flag to indicate if the Python library should be
1254 traced as well (boolean) 1257 traced as well (boolean)
1255 @keyparam autoContinue flag indicating, that the debugger should not 1258 @keyparam autoContinue flag indicating, that the debugger should not
1256 stop at the first executable line (boolean) 1259 stop at the first executable line (boolean)
1257 """ 1260 """
1261 self.dbgInterpreter = interpreter
1258 self.dbgCmdline = argv 1262 self.dbgCmdline = argv
1259 self.dbgWd = wd 1263 self.dbgWd = wd
1260 self.dbgEnv = env 1264 self.dbgEnv = env
1261 self.dbgReportExceptions = excReporting 1265 self.dbgReportExceptions = excReporting
1262 self.dbgExcList = excList[:] # keep a copy of the list 1266 self.dbgExcList = excList[:] # keep a copy of the list

eric ide

mercurial