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
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?
Daniel: Will pdb breakpoints be triggered by requests from the browser?
What I'm really looking for is the ability to access a url in my browser and step through the whole process of resolving a request on the Django end. If this is possible, how do I do it? If it isn't possible, why, and is there a way to jerry-rig it? Maybe passing an artificially constructed request object to the view function--though that sounds like a big time drain.
This seems like a problem that most developers must hit from time to time. How has the community approached it in the past?