Is it possible to see the completed query string, with all the variables substituted to their actual values? Would be good for debugging...
Asked
Active
Viewed 272 times
2 Answers
2
You could just log the predicate with NSLog(@"%@", predicate). Most values will show directly, except those that are cast e.g. dates or bool. For those you will have to log the variable separately.

RunLoop
- 20,288
- 21
- 96
- 151
1
Yes, turn on Core Data debug and you will see the raw sql calls.

Marcus S. Zarra
- 46,571
- 9
- 101
- 182
-
1Link is broken. This looks like a good solution: http://stackoverflow.com/questions/6428630/xcode4-and-core-data-how-to-enable-sql-debugging – AJP Jun 03 '16 at 12:59