• 0 Posts
  • 15 Comments
Joined 1 year ago
cake
Cake day: June 27th, 2023

help-circle



  • Of course, it’s better to use some frameworks for logging, especially because these verbose statements are often needed for assertions while unit testing the code. But it’s still equivalent to printf.

    I use debugger sometimes. I actually like to load core dumps to take a look at the stack trace. But I usually don’t really need debugger interactively because when some error appears, I usually already have an idea what happened. And lots of embedded code needs timing in milliseconds, so debuggers won’t help.