debug executable

Edit Scheme ->debug info->debug executable When I check debug executable to compile and run, the startup is very slow and lags When unchecked, it becomes normal

Answered by DTS Engineer in 804506022

What do you consider normal? When those options are enabled, the system launches your app with additional options enabled that facilitate debugging, but they shouldn't add significant amounts of time either. It may be helpful to use Time Profiler in Instruments to see where your app's launch time is going, as you should always aim to keep your launches fast, and move any initial work that is happening during launch out of the critical launch paths.

— Ed Ford,  DTS Engineer

Accepted Answer

What do you consider normal? When those options are enabled, the system launches your app with additional options enabled that facilitate debugging, but they shouldn't add significant amounts of time either. It may be helpful to use Time Profiler in Instruments to see where your app's launch time is going, as you should always aim to keep your launches fast, and move any initial work that is happening during launch out of the critical launch paths.

— Ed Ford,  DTS Engineer

debug executable
 
 
Q