Unlocking Core Data SQL Debugging in Xcode 4
Enabling Core Data SQL debugging within Xcode 4 differs from previous Xcode versions. This tutorial provides a clear, step-by-step process:
<code>-com.apple.coreData.SQLDebug 4</code>
Important: The numerical value following SQLDebug
(1-4) controls the detail level of the logging; higher values yield more comprehensive output.
Now, your Xcode console will display detailed SQL statements during app execution using the "Run" scheme.
The above is the detailed content of How Can I Enable Core Data SQL Debugging in Xcode 4?. For more information, please follow other related articles on the PHP Chinese website!