2 ms·
What does happen if you try to attach gdb? You can't, or the application just quits, or do you get some error message? I'm somewhat curious now.
by lukegb 13y ago
What does happen if you try to attach gdb? You can't, or the application just quits, or do you get some error message? I'm somewhat curious now.
- lordgilman 13y agoI think this is the story that the parent was referencing. Here's the story from 2005 and a kernel module loadable at runtime that gets around the problem. https://blogs.oracle.com/ahl/entry/mac_os_x_and_the https://blogs.oracle.com/ahl/entry/mac_os_x_and_the http://landonf.bikemonkey.org/code/macosx/Leopard_PT_DENY_ATTACH.20080122.html http://landonf.bikemonkey.org/code/macosx/Leopard_PT_DENY_AT...
- hjaltij 13y agoIt's probably just PT_DENY_ATTACH that causes the debugger to quit.