domesticcatsoftware / DCIntrospect

Small library of visual debugging tools for iOS.
domesticcat.com.au/projects/introspect
MIT License
2.18k stars 266 forks source link

Crash/Stack Overflow in if ([textInputTraitsProperties containsObject:key]) #22

Closed steipete closed 13 years ago

steipete commented 13 years ago

Just played around with DCIntrospect, looks great. It crashes when opening a UIPopoverController with an UITableViewController somehow.

There's a Stack Overflow in if ([textInputTraitsProperties containsObject:key]), DCIntrospect.m., Line 80

I'm on Xcode 4.1, iOS 4.3

Here's a Screenshot: http://cl.ly/2s2S3X1U11453I0v1019

Any ideas? Looks like swizzling gone wrong?

steipete commented 13 years ago

It's actually worse. It crashes as soon I integrate DCIntrospect and open the UIPopover. The swizzling in return valueForKey(self, _cmd, key); (DCIntrospect.m, Line 87) always calls itself while trying to find key "_webView".

gradha commented 13 years ago

Are you using the last version which got pushed a day ago with some fixes? I'm using it on an ipad 4.3 simulator with popovers and text input fields and everything works ok, the demo too.

steipete commented 13 years ago

Yep, latest version from a few hours ago. I can send you an example project if you like.