Writing a Debugger from Scratch
Posted by ibobev 15 hours ago
Comments
Comment by Cieric 13 hours ago
Comment by scott01 13 hours ago
Comment by whartung 12 hours ago
They were working on a debugger for OS/2, which was quite notable at the time for being multitasking.
And at one point they got to enough of a base feature set that they could use the debugger on itself. Debugging the debugger.
While debugging the debugger, they would inevitably encounter other bugs in the debugging debugger.
So, with OS/2, they had a bit of an epiphany when they were able to debug the debugger debugging the debugger.
Comment by sroussey 12 hours ago
Comment by stevekemp 8 hours ago
(Allegedly. Shout out to +fravia, RIP.)
Comment by chromadon 7 hours ago
Comment by zzril 11 hours ago
https://eli.thegreenplace.net/2011/01/23/how-debuggers-work-...
https://eli.thegreenplace.net/2011/01/27/how-debuggers-work-...
https://eli.thegreenplace.net/2011/02/07/how-debuggers-work-...
(Unfortunately, the articles don't include links to their respective follow-ups, but I'm pretty sure it ends after part 3...)