5 ms·
So I don't know much at all about kernel debugging, but when the author mentioned not being able to attach a debugger to launchd since it's PID 1 I got to wonde
by pschastain 11y ago
So I don't know much at all about kernel debugging, but when the author mentioned not being able to attach a debugger to launchd since it's PID 1 I got to wondering if it would be possible to use a debugger by launching OS X in a VM instead.
- feld 11y agoWell at that point you have to sift through the noise of the hypervisor and understand an entire OS you can't really see. Sort of...
- alphonse23 11y agoTest
- comex 11y agoThe author does end up using a VM, although via native kernel debugging over a virtual network rather than the VM's built-in debug stub. Neither one is going to isolate a single user process from other activity, though.