3 points by ye in: debugging pdb gdb 1 week, 6 days ago | 1 comment


 
2 points by micah.strube 1 week, 4 days ago | discuss | on: Python Debugging With Pdb
I use pdb every day. It’s a way more powerful tool for debugging than print statements and logging. Interactive mode for pdb in python 3 is pretty great. It drops you into the full python REPL with access to the current environment at the point you set your pdb trace, or wherever you’ve stepped to in pdb. Way easier than continually adding more print statements and re-executing code til you finally find the key to your problem.