Debug executable option in Xcode Scheme
11,310
From Apple's website:
The “Debug executable” checkbox specifies whether or not you want to run with the debugger enabled. Once running, you can use Debug > Attach to Process on a process that has been launched with debugging disabled if needed.
It seems like all this does is start your app with the debugger attached. You probably want it on.
Related videos on Youtube
Comments
-
maross about 2 years
Besides the obvious feature that is to permit the debugging of the app (most of the time using a Debug Configuration), why you should leave this option enabled, for example, even in Release Configuration?
What is the proper use of this feature?
-
trojanfoe about 9 years"From what I know in the release build symbolic debug info is not emitted." Check the build settings; they all have a Release and Debug version and it's very useful to retain the symbols for symbolicating crashes in the wild. Also some bugs only appear when optimisation is turned on.
-
maross about 9 years@trojanfoe It's correct, I removed that part
-
Lukas Kalinski about 9 yearsSomeone please answer this question? There is no info to find about it on Google as far as I can see...
-
-
Jeggy over 6 yearsLink is broken :/
-
Stelabouras over 6 yearsHere's a working link.