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 |