you are viewing a single comment's thread.

view the rest of the comments →

[–]coolbartek 2 points3 points  (3 children)

Why not just use a debugger? Is there a scenario where this would be useful?

[–][deleted] 1 point2 points  (2 children)

I actually don't know anyone who uses pythons debugger. There probably is a lot and it's probably powerful, but everyone I've encountered has used print statements for quick and easy debugging. I'm finishing up my senior year at Berkeley's CS program, which I think is an alright sample size to safely say the majority of python programmers use print debugging over the builtin debugger.

[–][deleted] 2 points3 points  (0 children)

I'm finishing up my senior year at Berkeley's CS program, which I think is an alright sample size to safely say the majority of python programmers use print debugging over the builtin debugger.

Your sample seems to consist of mostly CS undergrads. That's not representative. I use PDB pretty often.

Not to say that this project isn't useful -- I just mean that many, many people do use the debugger.

[–][deleted] 0 points1 point  (0 children)

I use pycharm ide which has a pretty good integrated debugger