2009/2/23 Jean-Paul Calderone email@example.com:
On Mon, 23 Feb 2009 15:11:15 +0100, Luper Rouch firstname.lastname@example.org wrote:
Jean-Paul Calderone a écrit :
On Fri, 20 Feb 2009 20:15:02 +0100, Luper Rouch email@example.com wrote:
Jean-Paul Calderone wrote :
On Fri, 20 Feb 2009 19:56:54 +0100, Luper Rouch firstname.lastname@example.org wrote:
I would like to investigate on the conch error I mentionned in my previous message ("KeyError when an errback is triggered within a conch TCP tunnel").
My problem is Twisted catches the exceptions and the debugger won't stop on them, how could I avoid that ? Is there a "debug" reactor ?
Try the --debug option to twistd.
My application is a client, how can I run it with twistd ?
Sorry but I don't understand how to run a _client_ application using twistd, I know how to create servers, but the code I would like to debug only uses conch to connect to a SSH server (OpenSSH, not Twisted).
There is no significant difference between servers and clients in this respect. If you know how to create a server, you know how to create a client - just use the client APIs instead of the server APIs.
Sorry I had missed TCPClient in the documentation, it works now thanks.