// I need to

ModernizeUpgrade without breaking it RescueFix what someone else started Build NewTurn an idea into a product Reach More PeopleGet found, get used, include everyone

// Company

Case StudiesExpertiseAbout + CareersResourcesContact Book a call →
≡articleRescue

SuperDebugger - a console for debugging your iOS app

SuperDebugger brings F-Script to iOS for live remote debugging of a running app. A quick setup report and how it compares to the read-only PonyDebugger.

Art+Logic Mar 4, 20131 min read

From the Art+Logic archive · written in 2013. The tools may have moved on; the thinking still holds.

Image of code from markus-spiske

In my last post I took a look at PonyDebugger, a remote debugging toolkit for inspecting the Core Data Managed Object Contexts, view hierarchies, and network activity of your iOS app. At the moment PonyDebugger offers a read-only view of your app, with write access planned for a future update. Not long afterwards I was listening to an episode of the NSNorth podcast with Jason Brennan (formerly of Shopify, now working on the NYT’s iOS apps) about SuperDebugger, which is another remote iOS debugger that makes use of Philippe Mougin’s F-Script ported to iOS along with a OS X shell for remotely interacting with the iOS app.

A demo from the SuperDebugger site.

I’d used F-Script to debug Mac OS X apps before, so was anxious to see how well it worked on iOS. I followed the instructions in the ReadMe on GitHub and had SuperDebugger up and running in about 15 minutes. It’s really no harder to setup than PonyDebugger. The ReadMe has some background and basic usage of F-Script and you can find out more about it on Mougin’s site.

To try it out I created a simple demo project that you can find on GitHub and setup with:

git clone https://github.com/stevenhuey/SuperDebuggerDemo.git
cd SuperDebuggerDemo
git submodule update --init --recursive
open Frameworks/superdb/

As described in the SuperDebugger ReadMe you’ll want to build the Super Debug shell app for OS X first. Once you’ve got that running you can build and run the sample app on your iOS device or the simulator.

Here’s a quick look at running my sample app in the iPhone Simulator alongside the SuperDebugger console.

I’m looking forward to trying SuperDebugger and PonyDebugger out in tandem, curious to see if JSTalk will run on iOS as an alternative to F-Script, and what approach PonyDebugger takes to allow console or some other interactive access as well. Happy debugging!

keep going

More to explore in Rescue.

All Rescue resources →
let's talk

Got a problem like this one?

Tell us what's stuck. A real person replies within one business day.

Talk to our team →

Talk to people who know software, not a sales script.

Your first call is with Aja, our VP of Sales. He'll help make sure you're solving the right problem. Here's what you'll cover together:

  1. What you're trying to accomplish

    The business goal first, then the technology.

  2. Possible approaches

    And the tradeoffs of each, in plain language.

  3. Risks you may not have considered

    Technical and business, before they cost you.

  4. Whether AI changes the math

    What's practical, and what's just hype for your project.

  5. Sensible next steps

    Even if the right next step is not us.

book-a-call.ics

Loading the scheduler…

Open the booking page →

Some problems are easier to explain in writing. Send us a few lines about what you're working on, and we'll reply within one business day. Helpful to include:

  1. What the software does, or should do
  2. What's stuck, or what's worrying you
  3. Any deadline or budget you have in mind
note.md

Loading the form…