[Zope3-checkins] SVN: Zope3/trunk/doc/ document my recent change to
debugzope.
Philipp von Weitershausen
philikon at philikon.de
Wed Jul 27 19:10:20 EDT 2005
Log message for revision 37510:
document my recent change to debugzope.
Changed:
U Zope3/trunk/doc/CHANGES.txt
U Zope3/trunk/doc/DEBUG.txt
-=-
Modified: Zope3/trunk/doc/CHANGES.txt
===================================================================
--- Zope3/trunk/doc/CHANGES.txt 2005-07-27 23:07:58 UTC (rev 37509)
+++ Zope3/trunk/doc/CHANGES.txt 2005-07-27 23:10:19 UTC (rev 37510)
@@ -298,9 +298,10 @@
- Added a ``debug`` command to ``zopectl``. This loads the Zope
configuration and provides an interactive Python session in
which a ``zope.app.debug.debug.Debugger`` instance has been
- provided as "debugger". This allows exercising Zope under the
- debugger using the same appserver configuration that the
- server process uses. The servers themselves are not started.
+ provided as the "debugger" or "app" variable. This allows
+ exercising Zope under the debugger using the same appserver
+ configuration that the server process uses. The servers
+ themselves are not started.
- Created a new granting UI that allows advanced searching of
principal sources.
Modified: Zope3/trunk/doc/DEBUG.txt
===================================================================
--- Zope3/trunk/doc/DEBUG.txt 2005-07-27 23:07:58 UTC (rev 37509)
+++ Zope3/trunk/doc/DEBUG.txt 2005-07-27 23:10:19 UTC (rev 37510)
@@ -7,7 +7,7 @@
Zope3 includes a mechanism to debug an object publishing request,
similar to the `Zope 2 debug mechanism`_
-.. _Zoep 2 debug mechanism: http://www.zope.org/Members/mcdonc/HowTos/UsingTheZopeDebugger
+.. _Zope 2 debug mechanism: http://www.zope.org/Members/mcdonc/HowTos/UsingTheZopeDebugger
Setting up the environment
@@ -41,10 +41,16 @@
bound to the ``debugger`` variable:
$ bin/zopectl debug
->>> debugger
-<zope.app.debug.debug.Debugger object at 0x660350>
+ >>> debugger
+ <zope.app.debug.debug.Debugger object at 0x660350>
+For people with Zope 2 experience, the debugger is also available
+under the name ``app``:
+ >>> app
+ <zope.app.debug.debug.Debugger object at 0x660350>
+
+
Using the Debugger
------------------
More information about the Zope3-Checkins
mailing list