[Twisted-Python] Debugging Twisted
Luper Rouch
luper.rouch at gmail.com
Mon Feb 23 09:11:15 EST 2009
Jean-Paul Calderone a écrit :
> On Fri, 20 Feb 2009 20:15:02 +0100, Luper Rouch <luper.rouch at gmail.com>
> wrote:
>> Jean-Paul Calderone wrote :
>>> On Fri, 20 Feb 2009 19:56:54 +0100, Luper Rouch
>>> <luper.rouch at gmail.com> 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.
>>>
>>> Jean-Paul
>>
>> My application is a client, how can I run it with twistd ?
>
> See http://twistedmatrix.com/projects/core/documentation/howto/tap.html
>
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).
Luper
More information about the Twisted-Python
mailing list