最近搞mac os x的调试,用外面的windows版本的ida,调试虚拟机里的mac os x 10.8.2的虚拟机镜像,不知道为啥总是attach失败。情况如下:
1)先选择<attach to the process started on target>,然后就弹出错误提示框:
Could not get target stop status even after breaking. Giving up.
2)然后点OK,又弹出第二个错误提示框:
The debugger could not attach to the selected process.
This can perhaps indicate the process was just terminated, or that you don't have the necessary privileges.
debugStub.listen.guest32.remote = "TRUE" # Allows debugging from a different computer / VM instead of localhost. # The IP for remote debugging will be that of the host.
debugStub.listen.guest64.remote = "TRUE" # Same, but for 64-bit code
debugStub.hideBreakpoints = "TRUE" # Allows gdb breakpoints to work
tools.remindInstall = "TRUE"