leoSAGlobals.py is a stand-alone version of leo.core.leoGlobals.py.
It is useful for debugging in situations where you don't want to
import any part of Leo.
To use leoSAGlobals.py, you would typically copy it to Python's Lib/
sitecustomize folder.
For example, I am tracing and single stepping through docutils source
files as follows::
import leoSAGlobals as g ### EKR
....
g.pdb()
g.trace(g.callers())
etc.
This is something that I've wanted to do for a long time. Let me know
how it works for you...
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.