On Jun 22, 2007, at 11:15 AM, Theodore H. Smith wrote:
>
> I must be invisible or something.... Some sort of scientific
> experiment gone wrong on me. No reply to the last email to this list
> anyhow.
>
> Anyone can tell me why I can't debug a plugin in RB?
>
> I just want to run it from my RB app on MacOSX. I don't mind if I
> have to build the app and run it outside o RB's debugger, as long as
> I can use Xcode to debug my plugin.
>
> Anyone????????
The easiest approach for me is to build your RB app, dig into the
package, and remove your plugin's dylib. Then, use the command line:
cd <<drag your Frameworks folder here>>
ln -s <<drag your built plugin from the Xcode build location you
specified>>
Now, add a custom executable to your Xcode project. Finally, tell
Xcode to Build and Debug. That should be all you need to do.
You could always set up a custom rule set for debugging in RB and set
the build path to the Frameworks folder inside of your application,
but I find the symbolic linking the easiest to change each time I
have a new app to try out.
HTH,
Jon
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|