CoreData SQLDebug does not work anymore

Originator:marceljackwerth
Number:rdar://26825908 Date Originated:06/15/2016
Status:Open Resolved:
Product:iOS Product Version:10.0 14A5261u
Classification: Reproducible:
 
Summary:
The com.apple.CoreData.SQLDebug argument doesn't seem to work at the moment. Using it with older Xcode/iOS version logs SQL statements as they are executed by CoreData.

Steps to Reproduce:
1. Create new project with CoreData or take an existing one
2. Pass -com.apple.CoreData.SQLDebug 1 as argument on launch
3. Observe log

Expected Results:
See SQL queries as they are executed from CoreData

Actual Results:
No logs. Using SQLITE_AUTO_TRACE=stderr I could get some results, but SQLDebug is well documented.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!