News for hackers. Stuff that matters.
Re:Rust 1.32 released by nostrademons on Thursday January 17, 2019 @04:10PM (#18934665)
Python/Ruby have long had a tradition of printf + unit test debugging. I assume Python has a debugger now but I honestly don't know anyone who uses it.
Re:Rust 1.32 released by rcfox on Thursday January 17, 2019 @04:18PM (#18934735)
I use it all the time. If my program crashes, I swap `python foo.py` with `ipython --pdb -- foo.py` and it will drop me into an ipython session at the exception so that I can inspect variables and the backtrace.

Also, if I want to pause at a point and step from there, just drop `import ipdb; ipdb.set_trace()` at the line I want to set a breakpoint.

Re:Rust 1.32 released by globuous on Thursday January 17, 2019 @05:36PM (#18935330)
I use it all the time as well and know many people that do. It was no longer than yesterday that I discovered it worked in a jupyter notebook ! So I assume enough people use it that it was integrated
Re:Rust 1.32 released by pjmlp on Thursday January 17, 2019 @04:19PM (#18934742)
I was using Python debuggers in 2002, courtesy of ActiveState.
Re:Rust 1.32 released by Too on Sunday January 20, 2019 @04:40AM (#18952191)
print is a considered a big antipattern in python since it's equally easy to use the built in logging.debug. With pycharm launching the debugger is as easy as right-click a file and press debug, i don't know anyone who doesn't use it.