[PyKDE] eric4 debugger works now :)

Detlev Offenbach detlev at die-offenbachs.de
Fri Oct 27 18:55:47 BST 2006


Thanks for this info. I'll change it in the next snapshot.

Detlev

On Thursday 26 October 2006 13:39, bastian salmela wrote:
> ok, sorry to spam the list again, but i got it working (now that i knew
> what the error message was).
>
> for some reason i had to make couple of changes in DebugServer.py. this is
> my work computer, WindowsXP Pro (yes yes I know I know.. but this is what I
> have to use here) so these are windows specific things.. anyway..
>
> first the error box, I changed the .arg(msg) syntax to something simpler.
> this prevented the crash and gave me the message.
>
> KQMessageBox.critical(None,
>  self.trUtf8("Start Debugger"),
>  self.trUtf8("""<p>The debugger backend could not be started.<br />"""
>  """Reason: """+str(msg)+"""</p>"""),
>  self.trUtf8("&OK"),
>  QString(),
>  QString(),
>  0, -1)
>
>
> and then i changed how two parameters were passed for pid.. so instead of
> that strange '"%s"' % variablename, i just put variablename straight. just
> like on other platforms have.
>
> if sys.platform == "win32":
>    self.clientPID = subprocess.Popen(\
>      [interpreter, debugClient,
>      noencoding, str(self.serverPort()), redirect],
>      env = clientEnv).pid
>
>
> anyway, just to let you know. debugger works now.
>
>
> .b
> kulma.org -- the works
>
>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list