How do I get the CoreData Debug argument to output to the console?
Posted
by radesix
on Stack Overflow
See other posts from Stack Overflow
or by radesix
Published on 2009-05-05T01:21:12Z
Indexed on
2010/06/10
16:12 UTC
Read the original article
Hit count: 207
According to Apple documentation on debugging Core Data it says we should be able to pass an argument to the application which will output the SQL core data sends to SQLite.
I have gone into the arguments tab of my executable in XCode and specified the argument:
-com.apple.CoreData.SQLDebug 1
However, I see no SQL in the console. I then tried to use this parameter in the CoreDataBooks application provided by Apple just in case there was some other issue in MY program.
Even in Apple's example I get no SQL output in the console.
Am I doing something wrong? Is Apple's documentation wrong? Should I be looking someplace other than the console? Has anyone else had success with this argument?
© Stack Overflow or respective owner