Provide breakpoint for failed image loads from Interface Builder

Number:rdar://37791168 Date Originated:22-Feb-2018 09:57
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 9.2 (9C40b)
Classification:UI/Usability Reproducible:Always
Currently if you set an invalid image name in Interface Builder, at runtime you end up with this message in the console:

> Could not load the "foobar" image referenced from a nib in the bundle with identifier "..."

It would be useful to be able to set a breakpoint here in order to catch and debug these missing images.

Steps to Reproduce:
1. Create a new project
2. Open Main.storyboard
3. Drag out an image view
4. Set a random string as the image name
5. Run the app

Expected Results:
There's some breakpoint you can set in order to catch these

Actual Results:
There's a log in the console telling you the image couldn't be loaded.

Xcode 9.2 (9C40b)



Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at 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!