|
|
|
|
|
by stinos
1908 days ago
|
|
You said "click", I need to leave my keyboard. Every proper IDE has a keyboard shortcut for that though. With a debugger I need to kill my auto-run command, run the program, set breakpoints, type to see what variables I want to inspect This indeed falls under your 'part of my problem is that because I rarely use a debugger' statement. E.g you could set breakpoints before you save, use auto-debug instead (i.e. launch program under the debugger on save instead of just rnning it - without breakpoints there shouldn't be much of a difference unless it's one of those nasty multithreading bugs), add variables you want to see to the watch window. Or type them anyway if it's a one-time thing. Or use tracepoints. Etc. I personally keep bouncing back and forth between debugger and printing. All depends on context, but it's definitely worth it getting to know both really well. |
|