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
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
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
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
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+=3#8558ac68f9461710
--~--~-~--~~~---~--~~
You received this message because you are subscribed
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
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
On 16/06/06, Filipe <[EMAIL PROTECTED]> wrote:
*snip*
> What IDEs are Django developers using out there?
Embarrassingly, I'm using Bluefish. Bluefish is a syntax editor with
broken highlighting. I use it mainly because I've never found the need
for anything more complicated. In general I find it
Sory I took this much time to answer back, I was temporarily assigned
to another project.
I made the modification you suggested and started django's webserver as
an external tool in pyscripter, but still couldn't get the debugger to
stop in my breakpoints.
Any other suggestion on how to use
if you want debug django, maybe you should modify the file
"./django/core/management.py"
at the last of function "def runserver(addr, port):"
replace
" from django.utils import autoreload
autoreload.main(inner_run)
"
with
inner_run()
10 matches
Mail list logo