Re: printing/debugging from a plugin
Re: printing/debugging from a plugin
- Subject: Re: printing/debugging from a plugin
- From: j o a r <email@hidden>
- Date: Mon, 13 Mar 2006 22:48:59 +0100
On 13 mar 2006, at 22.46, Kaveh Kardan wrote:
In the days of CodeWarrior, it was possible, when developing a
plugin, to put print statements in the code. A console would pop
up with the printed info when running the main program which had
loaded the plugin.
This does not seem to be the case with XCode. Anyone have
suggestions on how to debug code for a plugin?
Two things to note:
1) When you're developing a plugin it's generally a good idea to set
up a "custom executable" to point at the loading application. This is
covered in the Xcode User Guide.
2) In your plugin you can use printf / NSLog as usual, and the output
will go to the run / debug log in Xcode, or to the Console if
launched from the Finder.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden