4 ms·
I've been using something similar lately for my "quick and dirty print debugging" needs [1]. It's much nicer and requires less effort than just using printf/cou
by izoow 3y ago
I've been using something similar lately for my "quick and dirty print debugging" needs [1]. It's much nicer and requires less effort than just using printf/cout. I feel like many of the critical comments here are missing that that's probably the intended use-case of this.
[1] https://github.com/sharkdp/dbg-macro https://github.com/sharkdp/dbg-macro
- nick__m 3y agoI might use this, or the one from the title, for print debugging my personal project when I have enough rom space and I don't feel like plugging a jtag adapter. To philip82148, don't let the critics pull you down, you made it to the front page after and they probably haven't. You can still learn from them (your use of a goto when a while would have been probably sufficient) but ignore the negativity.
- philip82148 3y agoThank you for your advice! I appreciate it and I'll do so.
- deleted 3y ago[deleted]
- philip82148 3y agoWow, I didn't know about this. Does this also support formatting nested containers with auto indent? I couldn't figure it out from the README.