[Zope] Re: Zope debugging
by Simon Michael other posts by this author
Dec 20 2002 6:30PM messages near this date
[Zope] Zope debugging (was: Considerations using Zope)
|
[Zope] local characters and ParsedXML
Daniël Hooymans <d.hooymans@[...].nl> writes:
> Any other suggestions for easy debugging zope apps? Setting breakpoints
> and stepping through a zope app?
Yes - after reading the zope developer's guide chapter 7 (the best intro
to the subject), set up ZEO and configure things so that you can type
"python" and have the live server available at your prompt (import Zope,
app = Zope.app()).
Then do this within an emacs shell buffer, making sure you have
pdbtrack.el installed. import pdb, pdb.run('app.object.somemethod'), and
you'll be stepping through code on the server with source. If the server
is remote, you can ssh there to run python, making sure you have a local
copy of the zope source such that the python file paths are the same.
-Simon
_______________________________________________
Zope maillist - Zope@[...].org
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )
Thread:
=?iso-8859-1?Q?Dani=EBl_Hooymans?=
Simon Michael
|