[Twisted-Python] Debugging client programs

Moshe Zadka m at moshez.org
Wed Jul 30 09:45:20 MDT 2003


On Wed, 30 Jul 2003, John Goerzen <jgoerzen at complete.org> wrote:

> However, my program is a client program, and thus does not run under
> twistd, has no TAP, etc.  What is the framework for enabling debugging
> for that?  And could it be documented in the howto?

You are deluded.
There is absolutely no excuse not to run with twistd. There is no need
for a TAP file: a .tac file (that is, a Python file which defines a variable
named Application) would do just as well. Then, twistd -bony file.tac,
and presto! debuggy goodness.
-- 
Moshe Zadka -- http://moshez.org/
Buffy: I don't like you hanging out with someone that... short.
Riley: Yeah, a lot of young people nowadays are experimenting with shortness.
Agile Programming Language -- http://www.python.org/




More information about the Twisted-Python mailing list