Dear jj, I tried to use your code below, and it basically crashes the controller. How do you use it to debug a pylons app? When I run it I get a Pdb consul where I can get variable results and stuff like that, but I can't figure out how to make it close and go on executing my controller. Thanks in advance for any and all help Jose
On 2/1/07, Shannon -jj Behrens <[EMAIL PROTECTED]> wrote: > > > On 1/31/07, Christoph Haas <[EMAIL PROTECTED]> wrote: > > Hi, $ALL... > > > > I'm currently trying to rewrite the webhelpers.pagination module and > > sometimes find it hard to understand what each variable is set to and > even > > what type it is. Sure, I can "raise" exceptions all the time as a poor > > man's way to debug the application. But SPE or Eric3 already offer a > good > > debugger. Has anyone tried to write Pylons applications with such an > IDE? > > My problem seems to be that I actually need to run "paster" from the IDE > > and that seems to confuse it, because it's not a file in my project. I > > also tried to copy /usr/bin/paster into my projects directory but Eric3 > > insists that it cannot run it either. > > I use the following in my code all the time: > > import pdb > pdb.set_trace() > > By the way, Wing IDE has a remote debugger so that you can connect to > a separate process and debug it from within Wing IDE. > > Best Regards, > -jj > > -- > http://jjinux.blogspot.com/ > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
