-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
76 lines (47 loc) · 2.02 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Zope Debugger
Enhancements for debugging Zope using Python's debugger.
To install, unpack the zdb tarball into the Products directory of
your instance and restart Zope. Once restarted, you should visit
/manage_addProduct/zdb/debug_compile of your server in a
browser.
To use, in any code which you would like to debug, just insert the
following lines:
from Products.zdb import set_trace
set_trace()
NB: Having zdb installed will decrease performance slightly and
increase RAM usage proportional to the number of scripts you
use. It should ONLY be installed on servers where you need to
carry out debugging!
Known Problems
zdb is currently incompatible with the WingDbg product that ships
with WingIDE. Contact has been made with WingIDE's authors to try
and resolve this problem.
Licensing
Copyright (c) 2005 Simplistix Ltd
This Software is released under the MIT License:
http://www.opensource.org/licenses/mit-license.html
See license.txt for more details.
Changes
0.8.3
- Added compatability with Python 2.6
0.8.2
- Added compatability with Zope 2.9 and Python 2.4
0.8.1
- Added compatibility with both Zope 2.7 and Zope 2.8
- Noted incompatability with WingIDE's WingDbg product.
- Fixed documentation of how to run the debug_compile script.
0.8.0
- Initial Release featuring the ability to set break points and
view source code locations within Script (Python)'s and
FSPythonSCript's
Credits
- Dieter Maurer for the inspiration that this was possible.
- Tres Seaver and Jim Fulton for their help ironing out the
wrinkles.
- The excellent Plone Conference in Vienna, 2005, for a great place
to write the code!
- Jean Jordaan for the Python 2.6 patch.
To-Do
- Add traceback improvements such as ZPT hints into pdb's stack traces
- Add traceback improvements such as ZPT hints into the traceback
module's exception formatting