Printf Debugging - Handy Hint #1

I thought I would mention percepio view. I haven’t used it though - I just mention it as a potential alternative, especially if you’re starting your project.

I was thinking of using it to replace our home-grown printf-based debug trace code. I should also mention the importance of taking care using (s)printf - especially for floats - the standard library version is not thread-safe (I forget the details). We found out the hard way. This version by eyalroz sounds like an easier fix for us though.

1 Like