News for hackers. Stuff that matters.
Re:Visual Debugging Now by armchairhacker on Wednesday May 25, 2022 @12:03AM (#31500490)
When I debug, sometimes I write code which pretty-prints the object to stdout, and then execute that inline ("evaluate expression") when I need to.

It may be kind of hacky but it works well and it's super easy to implement. As a bonus, you usually end up pretty-printing the object in some debug-logger anyways.

There are no comments on this comment yet.