3 ms·
What does debugging code written in this style look like? Has anyone run code like this under gdb?
by ur-whale 4y ago
What does debugging code written in this style look like?
Has anyone run code like this under gdb?
- gitonthescene 4y agoI think this style of coding is decidedly less amenable to using a debugger on. With so much on a single line stepping becomes unclear. Heavy use of macros fights against the use of a debugger as well. I think proponents would argue that the extreme rigidity of the style means the code is more likely to fit expectations but you can decide how convincing that is. As for what people actually do, the catch phrase seems to be “use printfs”.