ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zope-List
zope-List
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved