Re: Which IDE to debug django app? (Was "Using Pyscripter with Django")

2006-06-26 Thread Filipe
Hi RajeshD, That's a nice article on how to debug with pdb, thanks. Haven't tried it with Django though. What I would really like to have was exactly this, but integrated into an IDE, and ready to debug a Django app :) I think I'll keep using PyScripter for now, I hope the "remote debugger" feat

Re: Which IDE to debug django app? (Was "Using Pyscripter with Django")

2006-06-23 Thread RajeshD
You can use the Python debugger too. Simply import pdb and add pdb.set_trace() where you want your first breakpoint. You can step through after that point and inspect variables, etc. http://www.ferg.org/papers/debugging_in_python.html Don't forget to wrap your breakpoints with "if settings.DEBU

Re: Which IDE to debug django app? (Was "Using Pyscripter with Django")

2006-06-23 Thread Frankie Robertson
On 22/06/06, Filipe <[EMAIL PROTECTED]> wrote: > > Hi, > > That's definitely a better way to inspect values than modifying the > view's template every time I need to debug something. I found out today > that I can also print to the output console (yes, I'm that much of a > newbie :) which also hel

Re: Which IDE to debug django app? (Was "Using Pyscripter with Django")

2006-06-22 Thread Filipe
Hi, That's definitely a better way to inspect values than modifying the view's template every time I need to debug something. I found out today that I can also print to the output console (yes, I'm that much of a newbie :) which also helps. It doesn't solve everything though, I'd still like to ha

Re: Which IDE to debug django app? (Was "Using Pyscripter with Django")

2006-06-21 Thread Frankie Robertson
On 20/06/06, Michael Radziej <[EMAIL PROTECTED]> wrote: > > Hi, > > I really found I don't need a debugger for Django. If I have a > problem, I set some random variable to the data I am interested > in and raise a non-existing exception, like: > > bla = user.__dict__ > raise Bla > > Then I dea

Re: Which IDE to debug django app? (Was "Using Pyscripter with Django")

2006-06-20 Thread Michael Radziej
Hi, I really found I don't need a debugger for Django. If I have a problem, I set some random variable to the data I am interested in and raise a non-existing exception, like: bla = user.__dict__ raise Bla Then I deal with my browser, and the (great!) error page of Django will tell me all I

Re: Which IDE to debug django app? (Was "Using Pyscripter with Django")

2006-06-20 Thread mamcxyz
I work fine with Komodo 3.5 Personal. I follow this way: http://groups.google.com/group/django-users/browse_thread/thread/46e2fe7895565c5b/8558ac68f9461710?q=komodo+&rnum=3#8558ac68f9461710 --~--~-~--~~~---~--~~ You received this message because you are subscrib

Re: Which IDE to debug django app? (Was "Using Pyscripter with Django")

2006-06-20 Thread Josh Trutwin
On Tue, 20 Jun 2006 13:01:31 - "Filipe" <[EMAIL PROTECTED]> wrote: > Rephrasing my initial question a bit, can someone advise me on an > IDE in which to build a django app that will allow me to > "graphically" use a debugger? (ie, place breakpoints, inspect > values in vars, see the current

Which IDE to debug django app? (Was "Using Pyscripter with Django")

2006-06-20 Thread Filipe
Hi, Frankie Robertson wrote: > In general I find it to be quicker to > have a quick read of the documentation, or, as a last resort, ask on > IRC than to debug when using django yeah, but nothing can really replace a debugger for err.. debugging :) specially when it comes to solving problems tha