4 points by ye in: pdb gdb debugging 2Â years, 9Â months ago | 1 comment | ||
2 points by micah.strube 2Â years, 9Â months 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.
|
||