Command line application: How to attach a child process to xcode debugger?
问题 I'm currently making a command line app in C in which many child process is created. So I need to debug this children code. I have created a child process on Xcode as follow. (see the break point and running cursor.) After executing some statements, I get xcode to attach GBN(885) to the xcode debugger as shown in below figure. It doesn't work. How can I attach the child process to xcode debugger? Thank you in advance. 回答1: Google and Apple developer page are really silent on this issue and