Comment on Mac OS Screenshot does not Allow DVD Player to Appear in Captured RegionparentComments−lukegb13yWhat 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.−lordgilman13yI 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_thehttp://landonf.bikemonkey.org/code/macosx/Leopard_PT_DENY_AT...−hjaltij13yIt's probably just PT_DENY_ATTACH that causes the debugger to quit.
Comments
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.
I 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
http://landonf.bikemonkey.org/code/macosx/Leopard_PT_DENY_AT...
It's probably just PT_DENY_ATTACH that causes the debugger to quit.