2009/9/21 Kevin Bache <kevin.ba...@gmail.com>:
> Thanks for both of your ideas.
>
> Joshua: It is stopping on the first line of code, and I can step through the
> manage.py module and if I recall (I'm not in front of my computer at the
> moment) it catches breakpoints in other files (ex: settings.py) in the
> initial load.  What I can't seem to get is breakpoints triggered by the
> browser.  Have you ever had success with that?  Is it possible using
> Django's development server?  Using any server?
>
I have tried to use the Netbeans debugger with Django withou success,
even running with parameters as "python manage.py runserver
--noreload"
without success. PyDev debugger works very well with this feature.

Anyway, Netbeans is a good ide and runs much better than Netbeans in
my computer, so I use import pdb; pdb.set_trace()  and  usuall ipdb,
to set the breakpoint in the code. When I really need a visual
debugger and more advanced features I run python manage.py runserver
--noreload with winpdb, a nice graphical debugger which has nearly
everithing I like to have in Netbeans IDE.

-- 
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to