简体   繁体   English

Xcode Scheme中的Debug可执行选项

[英]Debug executable option in Xcode Scheme

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? 这个功能有什么用?

From Apple's website : 来自Apple的网站

The “Debug executable” checkbox specifies whether or not you want to run with the debugger enabled. “Debug executable”复选框指定是否要在启用调试器的情况下运行。 Once running, you can use Debug > Attach to Process on a process that has been launched with debugging disabled if needed. 运行后,如果需要,可以对已启用调试的进程使用Debug> Attach to Process。

It seems like all this does is start your app with the debugger attached. 似乎所有这一切都是在附加调试器的情况下启动您的应用程序。 You probably want it on. 你可能想要它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM