[Zope3-dev] DISCUSS: Designing for debuggability
Shane Hathaway
shane@zope.com
Wed, 12 Dec 2001 10:10:28 -0500
Paul Everitt wrote:
> Shane Hathaway wrote:
>> We could use some ideas for a debugging UI. The big question is
>> whether the debugger would be driven by the browser or by a Zope IDE.
>
> *If* I wasn't on thin ice, here's the next steps that I'd propose.
Whew, too many questions. I'll answer a couple. :-)
> o To wrap all this into end-to-end scenarios, what are five
> particularly egregious debugging situations to analyze, based on
> real-world experience over the last year?
I perceive a need for a pdb-like capability with a friendly UI and the
ability to debug higher level languages like DTML and page templates.
I've often needed to step into code without having to memorize
> To address your point, a Python prompt combined with ZEO might be the
> ultimate debugging interface -- provided that you can easily step into
> and recreate a problem that just happened.
We already have that, don't we? "import pdb; pdb.set_trace()".
Shane