Debugger/DebuggerInterfacePython3.py

changeset 3021
801289962f4e
parent 3020
542e97d4ecb3
child 3032
927a2f8b3669
child 3058
0a02c433f52d
equal deleted inserted replaced
3020:542e97d4ecb3 3021:801289962f4e
243 self.trUtf8( 243 self.trUtf8(
244 """<p>The debugger backend could not be""" 244 """<p>The debugger backend could not be"""
245 """ started.</p>""")) 245 """ started.</p>"""))
246 return process, self.__isNetworked 246 return process, self.__isNetworked
247 247
248 process = self.__startProcess(interpreter, 248 process = self.__startProcess(
249 interpreter,
249 [debugClient, noencoding, str(port), redirect, ipaddr], 250 [debugClient, noencoding, str(port), redirect, ipaddr],
250 clientEnv) 251 clientEnv)
251 if process is None: 252 if process is None:
252 E5MessageBox.critical( 253 E5MessageBox.critical(
253 None, 254 None,
344 self.trUtf8( 345 self.trUtf8(
345 """<p>The debugger backend could not be""" 346 """<p>The debugger backend could not be"""
346 """ started.</p>""")) 347 """ started.</p>"""))
347 return process, self.__isNetworked 348 return process, self.__isNetworked
348 349
349 process = self.__startProcess(interpreter, 350 process = self.__startProcess(
351 interpreter,
350 [debugClient, noencoding, str(port), redirect, ipaddr], 352 [debugClient, noencoding, str(port), redirect, ipaddr],
351 clientEnv) 353 clientEnv)
352 if process is None: 354 if process is None:
353 E5MessageBox.critical( 355 E5MessageBox.critical(
354 None, 356 None,
856 if resp == DebugProtocol.CallTrace: 858 if resp == DebugProtocol.CallTrace:
857 event, fromStr, toStr = line[eoc:-1].split("@@") 859 event, fromStr, toStr = line[eoc:-1].split("@@")
858 isCall = event.lower() == "c" 860 isCall = event.lower() == "c"
859 fromFile, fromLineno, fromFunc = fromStr.rsplit(":", 2) 861 fromFile, fromLineno, fromFunc = fromStr.rsplit(":", 2)
860 toFile, toLineno, toFunc = toStr.rsplit(":", 2) 862 toFile, toLineno, toFunc = toStr.rsplit(":", 2)
861 self.debugServer.signalClientCallTrace(isCall, 863 self.debugServer.signalClientCallTrace(
864 isCall,
862 fromFile, fromLineno, fromFunc, 865 fromFile, fromLineno, fromFunc,
863 toFile, toLineno, toFunc) 866 toFile, toLineno, toFunc)
864 continue 867 continue
865 868
866 if resp == DebugProtocol.ResponseThreadList: 869 if resp == DebugProtocol.ResponseThreadList:

eric ide

mercurial