Re: [Zope3-Users] Debugger for Zope 3
On Wednesday 26 April 2006 06:53, Lennart Regebro wrote: On 4/26/06, Stephan Richter [EMAIL PROTECTED] wrote: WingIDE's debugger is superb. Once you set the thread count to 1 it should work. At some point we'll have to write a small package that installs the debugger hook automatically. For now duplicating the Zope 2 steps and the Zope 2 product is the way to go. You don't happen to have that code somewhere? No, I would have to get together with Stephan (Deibel) and work it out again. Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re[2]: [Zope3-Users] Debugger for Zope 3
Hi, If we are coming to commercial IDEs then Komodo is also a good choice for debugging. You just have to put it's dbgp module on the PYTHONPATH and use the below small script to avoid some irritating deprecation mesages. After this, you put brk() in you code and it will stop there. After it was stopped for the first with brk() the debugger will obey all 'normal' breakpoints. I think it supports threading also but never tried it. import zope.deprecation from dbgp.client import brk as dbgpbrk def brk(): zope.deprecation.__show__.off() dbgpbrk() Wednesday, April 26, 2006, 9:58:52 AM, you wrote: On Tuesday 25 April 2006 08:27, Achim Domma wrote: I would like to start Zope 3 with the debugger, set some breakpoints in my modules and step through the code to learn more about Zope. WingIDE's debugger is superb. Once you set the thread count to 1 it should work. At some point we'll have to write a small package that installs the debugger hook automatically. For now duplicating the Zope 2 steps and the Zope 2 product is the way to go. Regards, Stephan -- Best regards, Adammailto:[EMAIL PROTECTED] -- Quote of the day: Oh, Aunty Em, it's so good to be home! ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Debugger for Zope 3
On 4/26/06, Stephan Richter [EMAIL PROTECTED] wrote: WingIDE's debugger is superb. Once you set the thread count to 1 it should work. At some point we'll have to write a small package that installs the debugger hook automatically. For now duplicating the Zope 2 steps and the Zope 2 product is the way to go. You don't happen to have that code somewhere? I could probably mold it into a product, and would really like it. Figuring out what the WingDBG product really does is gonna take me way to much time. :) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Debugger for Zope 3
Winpdb is an excellent one: http://www.digitalpeers.com/pythondebugger/ I have never used it with Zope, but with other multi-threaded applications and it works very nicely on all OSs that support Python (in spite of its name). cheers success AndréOn 4/25/06, Achim Domma [EMAIL PROTECTED] wrote: Hi,could somebody recommend a good visual debugger (not pdb) which can beused with Zope 3?I would like to start Zope 3 with the debugger, set some breakpoints inmy modules and step through the code to learn more about Zope. regards,Achim___Zope3-users mailing listZope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users-- Dr. Andre P. Meyerhttp://python.openspace.nl/meyerTNO Defence, Security and Safetyhttp://www.tno.nl/Delft Cooperation on Intelligent Systems http://www.decis.nl/Ah, this is obviously some strange usage of the word 'safe' that I wasn't previously aware of. - Douglas Adams ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Debugger for Zope 3
Achim Domma napisał(a): Hi, could somebody recommend a good visual debugger (not pdb) which can be used with Zope 3? I would like to start Zope 3 with the debugger, set some breakpoints in my modules and step through the code to learn more about Zope. I use eclipse 3.1 with pydev 1.0.x. It takes a while to setup, but then it's great. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users