Peter Chen

  • About
  • iOS
  • ML
  • Design

Navigating a new codebase with breakpoints

Jul 17, 2017

There are lots of great ways to navigate and learn a new iOS codebase. Here’s a good one to remember. Set a breakpoint for:

-[UIViewController initWithNibName:bundle:]

with an action to print:

po $arg1

https://pspdfkit.com/blog/2017/user-breakpoints-in-xcode/

#ios #xcode #debugging

  1. Built-in Debugging Popup in UIKit

    May 30, 2017

    Really cool. UIDebuggingInformationOverlay.

    http://ryanipete.com/blog/ios/swift/objective-c/uidebugginginformationoverlay/

    #ios #debugging

  2. Catching iPhone Crash Logs

    Aug 24, 2012

    http://stackoverflow.com/questions/8233388/ios-crash-log-catch-debug-info-catch-and-send-via-email-to-the-dev-team

    #iphone #debugging #crash-logs