Is there a feature in Xcode that allow you to inspect NSImage references while debugging?
Similar to how webkit inspector let you inspect image references in webpages.
Failing that, what’s the easiest way to debug while working with NSIMages?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
UPDATE:
with Xcode 5 and newer take a look at the answer by MagerValp. it looks like you can preview a image right in Xcode.
No, as far as i know there is no such feature in Xcode. If your application creates or manipulates images and you would like to see the visual representation of the data behind a reference to NSImage, you could dump the image to the filesystem.
Just create a category, which adds -(void)dump to NSImage like this:
Now you can set a breakpoint somewhere in your code and call the method dump on your reference of NSImage by typing following in the command line of the debugger:
the only change in your source code is the import for the category.