[Zope] Debugging Zope in Idle, setting breakpoints?

Chui Tey teyc@bigfoot.com
Fri, 14 Apr 2000 11:00:01 +1000


May be a little off-topic.

So far, I have figured out how to load Zope from within Idle, (python
1.5.2's IDE)

ZOPE_DIR = "C:\Program files\website"
import sys, os
start_path = os.path.join(ZOPE_DIR,'lib','python')
sys.path.insert(0, start_path)
os.chdir (start_path)
import Zope, ZPublisher

and invoking the debugger and executing ZPublisher to publish Zope objects

[DEBUG ON]
>>>ZPublisher.Zope('index_html')

How do I set the same breakpoints like the ones done by ZPublisher when
using the (d=1) option?

Chui