4 ms·
The lack of discussion about pdb on the internet speaks to Python's simplicity and transparency. There just aren't many subtle traps to fall into from which you
by mrshoe 16y ago
The lack of discussion about pdb on the internet speaks to Python's simplicity and transparency. There just aren't many subtle traps to fall into from which you need a debugger to free yourself.
At my current job I write C++ and I use a debugger practically every day. My previous job was all Python and I reached for pdb maybe 3 times in 4 years.
- hartror 16y agoI do find I use it reasonably often but have never reached for the documentation once. Which speaks to the intuitiveness of pdb as much as my experience with living in gdb when coding in C++. I love using pdb when debugging django test cases find it faster than using prints all over the place.