Re:Making a low level Linux debugger, part 3: our first program
by jjoonathan on Monday July 09, 2018 @05:35PM
(#17493625)
Nah, gradparent is not a wizard, just someone who has spent a lot of time in a single relatively simple environment that is mostly under their control. It's a beautiful thing when it happens. Most aren't so lucky.
[ Parent
| on HN ]
Re:Making a low level Linux debugger, part 3: our first program
by thedirt0115 on Monday July 09, 2018 @08:41PM
(#17494575)
+1 to the above, it's just a different environment. I haven't used a debugger at my current (mostly Python) job at all, whereas at a previous job in C++, I was using gdb practically every day.
Re:Making a low level Linux debugger, part 3: our first program
by tropo on Monday July 09, 2018 @06:58PM
(#17494104)
He is taking after Linus Torvalds, who resisted adding a kernel debugger for many years. Linus used console spew, PC speaker beeps, and storing a hash of file/line into the PC's time/date.
Re:Making a low level Linux debugger, part 3: our first program
by jjoonathan on Monday July 09, 2018 @11:14PM
(#17495154)
... who resisted adding a kernel debugger for the explicit purpose of keeping casuals out of his zen garden, per your link below.
For people who don't have a hoard of elite developers banging down their gates to contribute code for free, I suspect the economics of being such a Prima Donna are not as attractive.
Re:Making a low level Linux debugger, part 3: our first program
by hackcasual on Monday July 09, 2018 @07:17PM
(#17494205)
That's less not needing a debugger by design, more how challenging it is to debug an operating system.
Re:Making a low level Linux debugger, part 3: our first program
by tropo on Monday July 09, 2018 @07:50PM
(#17494363)
Those last two (speaker and clock) yes, but otherwise no. Linus Torvalds really doesn't like using a debugger and he'd rather you didn't use one either. His words:
Re:Making a low level Linux debugger, part 3: our first program
by Too on Tuesday July 10, 2018 @03:59PM
(#17501540)
Wow. Lets add some sleep in the compiler also so people will think harder about their code before compiling?