|
|
|
|
|
by SoftwareMaven
5569 days ago
|
|
Using printf to debug when you could use a good debugger is...well, I wouldn't say stupid, just highly unproductive. The problem is there are a lot of problems that aren't debugger friendly, especially if you are new to a particular domain. The kernel, timing-related problems, remote systems, production systems (you have intelligent logging, right?), etc., all have extremely valid reasons for using printf debugging. |
|
Those prints or printfs are great to get a quick overview of what's going on, if you ask me... instead of stepping through the whole thing.