views:

49

answers:

2

I've just started and am attempting to write plug-ins for Coda.

Now, I can't for the life of me i can't figure out how or where NSLog's get outputted for debugging. When the plugin is loaded by Coda, it works fine. So my question is:

1) for the quick and dirty, should I be using NSLog w/ an app plugin? 2) what happens everytime I call NSLog from within a plugin while it's running from another app?

thanks!

+3  A: 

Look for it in Console.app, that's where you can look at most log files.

Plugins are normally loaded into the application's code and therefore have the same stdout. They print to the same file as the application does.

Georg
awesome, that's what i needed. thanks.
pxl
A: 

I hope you are doing this only in Debug builds. If not, have a look at this and this. For more info on how NSLog actually works, see this and this.

slf
yes, the logs are only to do a quick and dirty of flow and only for development, not for release.thanks for the info
pxl