News for hackers. Stuff that matters.
Re:Implementing Rust's dbg! in Python by brundolf on Friday December 11, 2020 @12:59PM (#25388612)
For something quick, it's often more ergonomic to just print a thing out than step through. Also, most debuggers also won't be very helpful for embedded expressions; you have to break it out into a local variable.
Re:Implementing Rust's dbg! in Python by 0x008 on Saturday December 12, 2020 @11:00AM (#25399032)
You can set a breakpoint and also watch expressions, so there is not more work involved than hitting 2 keyboard shortcuts usually.