On May 16, 9:07 am, Joshua Russo wrote:
> Does anyone know what the constraints
> are to using the break command within pdb?
Autoreload spawns a new python interpreter. Nothing survives. So don't
use autoreload.
Another caveat: if you try to set a breakpoint and pdb can't find the
file, it's pr
Ok I figured it out. I'm not exactly sure what the b or break command
within pdb does but it doesn't seem to work in some instances as I
described in my initial post. Does anyone know what the constraints
are to using the break command within pdb?
What does work is to import pdb in the file you w
On Fri, 2009-05-15 at 14:00 -0700, Joshua Russo wrote:
> I can't seem to get pdb to stop at my break points for a page request.
> I start it like so:
>
> (from the directory containing manage.py) python -m pdb manage.py
> runserver
Have you tried this?
python -m pdb manage.py runserver --norelo
(strangely my previous post seems to have disappeared so here we go
again)
I can't seem to get pdb to stop at my break points for a page request.
I start it like so:
(from the directory containing manage.py) python -m pdb manage.py
runserver
The debugger starts up properly, paused on the first
4 matches
Mail list logo