5 ms·
Isn't that a bit similar to what debuggers typically do when you ask them to attach to a given process?
by Iv 7y ago
Isn't that a bit similar to what debuggers typically do when you ask them to attach to a given process?
- saagarjha 7y agoDebuggers touch other processes from afar. This merges the debuggee into yourself.
- skrebbel 7y agoNo, it merges a copy-on-write clone of the debuggee into yourself. That's quite different and, indeed, you can do similar things with it that a debugger could. If I understand this right,the process being unforked into you won't notice a thing and will happily chime on.
- saagarjha 7y ago> No, it merges a copy-on-write clone of the debugger into yourself. But you are the debugger… > If I understand this right,the process being unforked into you won't notice a thing and will happily chime on. Right, whereas when running an actual debugger you need to deal with signals and making sure you don't touch memory.
- skrebbel 7y ago> But you are the debugger… Ah thanks. My autocomplete didn't like the word "debuggee". Edited!
- ignoramous 7y agoThis should go in the FAQ! Thanks for the concise explainer for folks like me who aren't familiar with the domain.