349 |
349 |
350 @param clType type of client to be started (string) |
350 @param clType type of client to be started (string) |
351 """ |
351 """ |
352 if clType is not None and clType in self.getSupportedLanguages(): |
352 if clType is not None and clType in self.getSupportedLanguages(): |
353 self.clientType = clType |
353 self.clientType = clType |
354 Preferences.Prefs.settings.setValue('DebugClient/Type', |
354 Preferences.Prefs.settings.setValue( |
355 self.clientType) |
355 'DebugClient/Type', self.clientType) |
356 |
356 |
357 def startClient(self, unplanned=True, clType=None, forProject=False, |
357 def startClient(self, unplanned=True, clType=None, forProject=False, |
358 runInConsole=False): |
358 runInConsole=False): |
359 """ |
359 """ |
360 Public method to start a debug client. |
360 Public method to start a debug client. |
1321 @param fromFunction name of the originating function (string) |
1321 @param fromFunction name of the originating function (string) |
1322 @param toFile name of the target file (string) |
1322 @param toFile name of the target file (string) |
1323 @param toLine line number in the target file (string) |
1323 @param toLine line number in the target file (string) |
1324 @param toFunction name of the target function (string) |
1324 @param toFunction name of the target function (string) |
1325 """ |
1325 """ |
1326 self.callTraceInfo.emit(isCall, fromFile, fromLine, fromFunction, |
1326 self.callTraceInfo.emit( |
|
1327 isCall, fromFile, fromLine, fromFunction, |
1327 toFile, toLine, toFunction) |
1328 toFile, toLine, toFunction) |
1328 |
1329 |
1329 def clientUtPrepared(self, result, exceptionType, exceptionValue): |
1330 def clientUtPrepared(self, result, exceptionType, exceptionValue): |
1330 """ |
1331 """ |
1331 Public method to process the client unittest prepared info. |
1332 Public method to process the client unittest prepared info. |