Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Image File Execution Options equivalent on os x

Tags:

xcode

macos

clang

Is there an equivalent of Image File Execution Options on OS X ?

1) Is there any kind of Xcode API that will let you automatically attach the debugger to Xcode when a particular process is launched ?

OR

2) Is there some kind of API call that you can do that will automatically prompt you to attach the debugger to your process ?

like image 522
parapura rajkumar Avatar asked Nov 18 '25 17:11

parapura rajkumar


1 Answers

There is no equivalent of that API on OS X.

The closest you can come that I'm aware of is using Xcode's "Wait for application to launch" option for debugging, which will fire up the debugger and then attach to the application as soon as it sees it launched. This is also available in both gdb and lldb on the command line, if that's more your thing.

like image 151
bdash Avatar answered Nov 21 '25 09:11

bdash



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!