Top "Pdb" questions

This tag refers to the Python debugger.

How do I manipulate a variable whose name conflicts with PDB commands?

My code is, for better or worse, rife with single letter variables (it's physics stuff, so those letters are meaningful), …

python pdb
How to use pdb.set_trace() in a Django unittest?

I want to debug a Django TestCase just like I would any other Python code: Simply call pdb.set_trace() …

django debugging django-testing pdb
How to quit ipdb while in post-mortem debugging?

I like to inspect error in a Python script by using: $ python3 -m pdb my_script.py This drops me …

python ipython pdb ipdb
How do I change a value while debugging python with pdb?

I want to run pdb, step through the code, and at some point change the value pointed at by some …

python debugging pdb
Debugging flask with pdb

I'm trying to use pdb to debug flask application. Setting break point is easy; I just use b index to …

python debugging flask pdb
How do you break into the debugger from Python source code?

What do you insert into Python source code to have it break into pdb (when execution gets to that spot)?

python debugging breakpoints pdb
How do I force Matplotlib to draw while in the ipdb debugger in Spyder (or any other debugger)?

EDIT Unfortunately, at the moment this is not possible. I found out that it is a bug in Spyder. The …

python debugging matplotlib pdb spyder
PDB won't stop on breakpoint

I'm quite new with debugging directly with pdb and I am having some issues debugging my Django application. Here is …

python pdb
pdb.set_trace() causing frozen nosetests, does not drop into debugger

I'm running a suite of tests (.py files) using nosetests. Using a classic import pdb; pdb.set_trace() the nosetests …

python pdb nosetests
A Python IDE with Debugging and iPython Integration?

Does anyone know of a python IDE that has iPython as the interpreter? Using the standard interpreter just drives me …

python debugging ide ipython pdb