Saturday, October 24, 2009

iPhone dev Stupidity 84: Use symbolic break point to detect chang

Though the implementation of UIKit is not open source, you can insert a break point at any function entry.

Example:

To detect where the navigation bar style changes, you can insert a break point:

10  breakpoint     keep y   0x309323fd <-[UINavigationBar setBarStyle:]+6>


via gdb:

b setBarStyle:

then choose from the list for UINavigationBar.

No comments: