2 ms·
I have to admit I find stepping-through generally not too useful (although there are obviously exceptions when it works well). For me the reason is that the ba
by mpweiher 10y ago
I have to admit I find stepping-through generally not too useful (although there are obviously exceptions when it works well).
For me the reason is that the bandwidth is too narrow. To make it work well you often have to guess just right, and the problem with guessing just right is similar to code-staring: your mental model of the code is currently wrong, therefore your chances of guessing just right are also not too good. And if you guess wrong, you often have to start from scratch. Another reason might be that I was scarred for life by early versions of gdb :-) And of course there's a lot of code nowadays you don't want to stop in a debugger, because it will behave quite differently (your network request just timed out...)
I rather collect diagnostics and then try to figure out what happened.