Repository :
http://git.fedorahosted.org/git/?p=conga-luci-1stgen.git
On branch : RHEL5-active
---------------------------------------------------------------
commit 25fffebc9e6e35b6d500120347c0331c716d4921
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: Tue May 28 10:39:28 2013 +0200
luci/MAINTAINERS.rst: update debug how to
Signed-off-by: Jan Pokorný <jpokorny(a)redhat.com>
---------------------------------------------------------------
luci/MAINTAINERS.rst | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/luci/MAINTAINERS.rst b/luci/MAINTAINERS.rst
index df90979..365e656 100644
--- a/luci/MAINTAINERS.rst
+++ b/luci/MAINTAINERS.rst
@@ -35,6 +35,18 @@ into respective code; for instance::
This way, the Python debugger will take the control when running into
such points in the code.
+More elegant solution may be to run luci from `zopectl` like this::
+ zopectl> debug
+ Starting debugger (the name "app" is bound to the top-level Zope
object)
+ [...]
+ >>> Zope2.debug('/luci', d=True)
+ * Type "s<cr>c<cr>" to jump to beginning of real publishing
process.
+ * Then type c<cr> to jump to the beginning of the URL traversal
+ algorithm.
+ * Then type c<cr> to jump to published object call.
+ > <string>(1)?()
+ pdb>
+
How to enable and access ZMI
============================