I may be missing something critical, but I find the development cycle is much faster when debugging on a live instance...
I also prefer to debug on a live instance. However, I am attempting to debug someone else's product: http://www.zope.org/Members/mwoj/kinterbasdbDA I need to know the value of a variable that is generated during the usage of kinterbasdbDA and have not had much luck returning the variable value in a live session.
Fire up Zope and connect with a local web browser?
Works fine. I think that the debugger really could be my friend if I could just get ZPublisher.Zope() to return something. Perhaps I should submit another request to the list titled: "Does Zope Debugging Even Work??" If you know of any Zopers who might be able to help me (and the community) out I would greatly appreciate you forwarding this to them. Thanks for everything Dylan, Derek Basch --- Dylan Reinhardt <zope@dylanreinhardt.com> wrote:
On Mon, 2003-03-31 at 08:31, Derek Basch wrote:
Running Zope this way isn't an area of great expertise for me...
This seems to be no ones area of expertise. Did I pick a weird way to debug or something?
Well... it doesn't appear to offer a lot of advantages over debugging with a web client. I may be missing something critical, but I find the development cycle is much faster when debugging on a live instance... particularly when what I'm debugging creates layouts or other visual artifacts.
Here is the traceback from my root object request:
ZPublisher.Zope('') Status: 200 OK X-Powered-By: Zope (www.zope.org), Python (www.python.org) Content-Length: 0
I have tried this on 2 separate Zope installs and both fail to return the "Zope Quick Start" page. So, it looks like there is a fundamental flaw in how my requests are being processed. I can't believe that no one has ever run into this problem before? Suggestions?
Fire up Zope and connect with a local web browser?
Testing is all well and good, but if you're having difficulty troubleshooting your testing environment, it might be better to just take an easier route. Interacting with the ZMI may also provide some insight... tough to say.
You might also find this howto helpful:
http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend
Thanks for the suggestion but that is the page
that
got me started down this highway of confusion!
Oh... well, maybe the debugger isn't *your* friend after all... :-)
Dylan
__________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com