By the machine of Mac OS X EI Captain (10.11.6) / Xcode(8.0(8A218a)),
there is executable binary file with the debugging symbol
which was created by g++ -g - c <name> *.cpp .
This can be debugged in lldb of the command line.
I wants to debug this by the GUI of Xcode8, but is it possible?
When possible, please tell me the procedure on Xcode8?
To do this:
create a new project from the External Build System template
set the Build Tool for the target to
/usr/bin/true, so it does nothing
edit the scheme for that target such that it runs your tool (Product > Scheme > Edit Scheme > Run > Info > Executable)
run it in normal way (Build > Run)
If you want to set breakpoint in the code, add that code to your project.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"