3 ms·
> Debuggers might hot-patch code to insert breakpoints, but that's not the same thing as replacing running code. Solaris dbx did have this capability -- patch
by therealcamino 3y ago
> Debuggers might hot-patch code to insert breakpoints, but that's not the same thing as replacing running code.
Solaris dbx did have this capability -- patch and replace code with newly compiled code from your updated source files -- circa 2000. You just typed "fix" and it worked. I've been wishing for that capability on x86 Linux ever since.
- cryptonector 3y agoNice! I never knew, and used dbx lots!
- therealcamino 3y agoGod, it was so, so convenient. Near instant turnaround time for fixes. It was especially good in combination with 'pop', which returned control to the calling function just before calling the current one. It gave you a sort of limited form of do-over, with the caveat that it didn't try to undo any effects of the called function so far. Or you could just fix and restart.