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.
https://blogs.oracle.com/ahl/entry/mac_os_x_and_the
http://landonf.bikemonkey.org/code/macosx/Leopard_PT_DENY_AT...