248 self.trUtf8( |
248 self.trUtf8( |
249 """<p>The debugger backend could not be""" |
249 """<p>The debugger backend could not be""" |
250 """ started.</p>""")) |
250 """ started.</p>""")) |
251 return process, self.__isNetworked |
251 return process, self.__isNetworked |
252 |
252 |
253 process = self.__startProcess(interpreter, |
253 process = self.__startProcess( |
|
254 interpreter, |
254 [debugClient, noencoding, str(port), redirect, ipaddr], |
255 [debugClient, noencoding, str(port), redirect, ipaddr], |
255 clientEnv) |
256 clientEnv) |
256 if process is None: |
257 if process is None: |
257 E5MessageBox.critical( |
258 E5MessageBox.critical( |
258 None, |
259 None, |
349 self.trUtf8( |
350 self.trUtf8( |
350 """<p>The debugger backend could not be""" |
351 """<p>The debugger backend could not be""" |
351 """ started.</p>""")) |
352 """ started.</p>""")) |
352 return process, self.__isNetworked |
353 return process, self.__isNetworked |
353 |
354 |
354 process = self.__startProcess(interpreter, |
355 process = self.__startProcess( |
|
356 interpreter, |
355 [debugClient, noencoding, str(port), redirect, ipaddr], |
357 [debugClient, noencoding, str(port), redirect, ipaddr], |
356 clientEnv) |
358 clientEnv) |
357 if process is None: |
359 if process is None: |
358 E5MessageBox.critical( |
360 E5MessageBox.critical( |
359 None, |
361 None, |
862 if resp == DebugProtocol.CallTrace: |
864 if resp == DebugProtocol.CallTrace: |
863 event, fromStr, toStr = line[eoc:-1].split("@@") |
865 event, fromStr, toStr = line[eoc:-1].split("@@") |
864 isCall = event.lower() == "c" |
866 isCall = event.lower() == "c" |
865 fromFile, fromLineno, fromFunc = fromStr.rsplit(":", 2) |
867 fromFile, fromLineno, fromFunc = fromStr.rsplit(":", 2) |
866 toFile, toLineno, toFunc = toStr.rsplit(":", 2) |
868 toFile, toLineno, toFunc = toStr.rsplit(":", 2) |
867 self.debugServer.signalClientCallTrace(isCall, |
869 self.debugServer.signalClientCallTrace(isCall, fromFile, |
868 fromFile, fromLineno, fromFunc, |
870 fromLineno, |
869 toFile, toLineno, toFunc) |
871 fromFunc, |
|
872 toFile, toLineno, |
|
873 toFunc) |
870 continue |
874 continue |
871 |
875 |
872 if resp == DebugProtocol.ResponseThreadList: |
876 if resp == DebugProtocol.ResponseThreadList: |
873 currentId, threadList = eval(evalArg) |
877 currentId, threadList = eval(evalArg) |
874 self.debugServer.signalClientThreadList( |
878 self.debugServer.signalClientThreadList( |