<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
After unsuccessfully trying both Eric4 and <small>SPE, I finally
settled on Eclipse + PyDev as a debugging environment/IDE for Grok.<br>
<br>
I created a PyDEV project and used pb.recipes.pydev to add eggs to the
external PYTHONPATH <br>
<br>
Unfortunately, it only added some of the eggs in buildout-eggs, not all
of them, so I ended up adding the rest by hand anyway.<br>
<br>
It was relatively straightforward to get my project set up so I could
run the debugger on a unit test in app_tests/&nbsp; <br>
<br>
However, I am stumped trying to actually debug a running zope3 instance
in PyDev.&nbsp; I thought of several possible angles of attack:<br>
<br>
- create a gigantic "super project" containing all the buildout eggs
plus my project and put everything in the project path, and debug
directly from zope.app.twisted.main<br>
- put all the buildout eggs in one external project and make my project
depend on it<br>
- make a separate pydev project for each buildout egg<br>
- any one of the above, but rather than start zope within the debugger,
just run it from an external script and attach the debugger to the
running instance<br>
<br>
I am running on MacOS 10.5.3, if it makes a difference.<br>
<br>
Does anyone have any war stories to share getting this to work?&nbsp; <br>
<br>
Many thanks!<br>
<br>
--Craeg<br>
</small>
</body>
</html>