News for hackers. Stuff that matters.
Re:Where I started might not be useful to you by ryandrake on Thursday April 05, 2018 @10:25AM (#16765159)
Not enough people reach for a debugger anymore and are actually willing to jump through code, set breakpoints, examine variables in memory. Not enough people dig down instruction by instruction and look at the registers. Debuggers and code monitors used to be your primary development tool. I’ve seen younger developers look at me as if I were some kind of sorceror when I merely step through a C function or dump the contents of RAM. This critical skill seems like a dying art. Isn’t debugging taught in school anymore?
Re:Where I started might not be useful to you by jacquesm on Thursday April 05, 2018 @11:36AM (#16765846)
I actually rarely use a debugger. I used to but the speed with which current processors zip through code makes interactive debugging a lot less useful than it used to be, in very rare cases it is useful, but in the majority of the work I still do in the software world I've found that proper testing is what addresses the vast majority of the cases that would have hit the debugger in the past, and much faster too.

Debuggers are still useful but I don't actually recall the last time when I hit a bug that required interactive debugging.

Re:Where I started might not be useful to you by tonyarkles on Thursday April 05, 2018 @11:50AM (#16766000)
> Debuggers are still useful but I don't actually recall the last time when I hit a bug that required interactive debugging.

Microcontrollers: As a side rant, I'm perpetually grouchy with the fact that Arduinos don't have debugger support. I was using AVRs well before the Arduino was a thing (still have my STK500 kicking around...) and I feel like it's a pretty big lost opportunity for hobbyists to not be able to do a deep dive into what is actually going on for when they want to "level up" their MCU skills. Printfs over serial are great, but they often dork with the timing enough to change the character of bugs; JTAG debugging does too, but you can often insert breakpoints with surgical precision to see what's happening without breaking the timing of what you're trying to debug.

Re:Where I started might not be useful to you by jacquesm on Thursday April 05, 2018 @11:52AM (#16766024)
Yes, in the embedded world I can see lots of applications for the debugger, that's a different world. Real time emulation made life a lot easier as well, compared to the old fashioned way (burn eprom. pray. power up.)