Okay, so I wanted to mess around with GDB, but for Objective-C. Turns out, there’s this thing called ODB (Objective-C Debugger) that some folks have been working on. It sounded cool, so I decided to give it a try. I’m no expert, but I figured, why not?

Getting Started
First, I needed to actually find this ODB thing. I did some digging around, and it seemed like it wasn’t some official, super-polished project. More like a work-in-progress, but still usable. I’m mainly talking about the ‘wrestler’ branch here, which is the one I focused on.
I grabbed the source code. It wasn’t a simple “download and install” kind of deal. I had to clone the repository and get my hands dirty a little bit.
The Build Process
Building it was… an experience. I’m not gonna lie, I ran into some snags. It wasn’t exactly straightforward. There were dependencies and things I had to figure out. I spent some time reading through documentation and, you know, just trying stuff out. It’s how I learn best, honestly.
- First Attempt: I ran the build script, and bam! Errors. Lots of them. Missing files, weird compiler complaints… the usual.
- Dependency Hunt: I had to track down some libraries and header files that ODB needed. It was a bit of a scavenger hunt, but I eventually found what I was looking for.
- Tweaks and Adjustments: I had to make some small changes to the build configuration. Nothing major, just some fiddling around to get things to play nicely.
Finally, it Worked!
After a bit of persistence, I finally got it to build! It felt good, like solving a little puzzle. I had an ODB executable ready to go. I was pretty stoked, I’m not gonna lie.
Playing Around
I loaded up a simple Objective-C program I had lying around. I set some breakpoints, stepped through the code, inspected variables… the usual debugging stuff. It was pretty cool to see ODB in action, showing me the Objective-C specific stuff that GDB wouldn’t normally handle.

It wasn’t perfect, of course. There were some rough edges, and some features that weren’t quite there yet. But it was definitely functional, and I could see the potential.
My Takeaway
Overall, it was a fun little project. I learned a bit more about how debuggers work, and I got to play around with something a little off the beaten path. If you’re comfortable with a bit of tinkering, and you’re interested in Objective-C debugging, ODB (the ‘wrestler’ branch, at least) is definitely worth checking out. Just be prepared to get your hands a little dirty! It’s not something you install with one click, but for me, that’s part of the fun.