miniblog.

← Back to all posts
22
Print debugging remains an extremely common debugging technique. This makes me wonder: what's the state-of-the-art for print debugging? Rust's debug! macro prints a bunch of helpful information (variable name, line number) but there must be other nice tools in this space.

2 Comments

@wilfredh one of the appeals of print debugging is that you don’t have to learn a lot about the specificities of the language and it’s toolchain or libraries or dev env. You basically just search for “hello world Miranda” or whatever weirdo language you’re trying to fix a bug in that day
@wilfredh Me I’ve been reading code for a language called “Gofer” lately (an early version of Haskell basically) because I’m trying to learn a library ported from it to Scheme.