Short Xcode Tip: Plugins

When writing GenericToolbar 1.0 there were plenty of times I wanted to print something to the run log using NSLog, or even just observe the error messages IB prints. So I’d go call up the old Console utility and watch as my autorefreshing webmail window prints line after line, while IB is completely silent and error-less. Or did I just miss it with all the Safari AJAX calls?

It wasn’t too bad, but it’s not a very pleasant way to debug a plugin. And as for true debugging and breakpoints, forget it.

By the time I was starting work…