Could not load Quick Look data for "image"

For only debug purposes when I definitely need the image (and can't normally quick look at it) I'm able to see it using following pattern:

CGImageRef imageRef = image.CGImage;
CGImageRelease(imageRef); // put breakpoint here

Then i need to quick look at imageRef. Do not forget to remove this line of code when you catch the bug as it eats device resources and is spare :)

BTW: Tommie's solution didn't work for me.


I suggest you open the variables pane of the debugger when the image variable is active. Right click and add an expression which should be the image variable reference. After selecting the expression I would try to click on the Quick Look icon that will be enabled at the bottom of the variable screen. Please advise if this does not help otherwise feel free to accept the answer.

(e.g.) cell.imageView.image

Quick Look