Just a quick follow up in case others need to do similar things. Wing IDE is cool! It didn't actually do what I needed, but it would be great for most problems. The problem I had was a hang inside a C extension, and WingIDE can't break ("Pause") while C code is running. So I did it all in GDB... Not easy to debug Python code using GDB, but it works. -Randy
-----Original Message----- From: ender [mailto:kthangavelu@earthlink.net] Sent: Friday, April 06, 2001 11:20 AM To: Randall F. Kern; zope@zope.org Subject: Re: [Zope] attach and debug a running zope?
On Friday 06 April 2001 16:30, Randall F. Kern wrote:
I'm trying to track down a nasty data-corrupting hang, and would love to get stack traces from the zope.
I've tried A Very Cool Trick[1] from Barry, but I haven't been able to get it to work. Any solutions out there to get stack traces from a stuck zope?
[1] http://mail.python.org/pipermail/python-list/1999-June/006153.html
Thanks! -Randy
you could try attaching it to it with wing ide. info at wingide.com
hth
kapil