Re: pdb doesn't break in django

2009-11-03 Thread Karen Tracey
On Tue, Nov 3, 2009 at 3:35 PM, skunkwerk wrote: > > thanks Bill, > its working now - i wasn't aware you had to change the runserver > command. this is what I used: > > python -m pdb manage.py runserver > > FWIW, I use import pdb; pdb.set_trace() quite frequently, on both Linux and Windows box

Re: pdb doesn't break in django

2009-11-03 Thread skunkwerk
thanks Bill, its working now - i wasn't aware you had to change the runserver command. this is what I used: python -m pdb manage.py runserver thanks! On Oct 30, 10:52 am, Bill Freeman wrote: > It works for me. > > Maybe you're not getting to those statements?  Another module of the same na

Re: pdb doesn't break in django

2009-10-30 Thread Bill Freeman
It works for me. Maybe you're not getting to those statements? Another module of the same name on the path being imported instead? When I stick it in a view function and it doesn't hit it's usually because I've botched urls.py. Try putting them at top level in the module, in which case it shou

pdb doesn't break in django

2009-10-30 Thread skunkwerk
Hi, i've been trying to use pdb inside my django code, but it never breaks the program flow. I insert this into my code: import pdb pdb.set_trace() but it just continues execution - is there something i need to be doing? thanks! --~--~-~--~~~---~--~~ You rece