realbasic-plugins
[Top] [All Lists]

Re: XCode anyone?

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: XCode anyone?
From: Anjo Krank <krank at logicunited dot com>
Date: Thu, 15 Dec 2005 21:07:10 +0100
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <03D3F3D4-92E5-486B-9041-18738B375BE7 at logicunited dot com> <BFE084B4-0AE9-447B-B8EA-4A98DF349DB5 at haranbanjo dot com>

Am 15.12.2005 um 20:56 schrieb Will Leshner:


On Dec 15, 2005, at 11:42 AM, Anjo Krank wrote:

In the good old days, you could set CodeWarrior to launch RB or an RB app and debug from source. Now, you have to build the plugin, run the converter, quit RB, open RB, generate your app and run it. Christ, how about some shortcut here? Like, when a Plugins folder is present in the generated app's directory, then check if you can load the plugin from a directory structure instead of some embedded virtual volume?


I seem to remember a release note a while back saying you could put bare Mac OS X dylibs right in the Plugins folder and REALbasic would treat them as plugins. Was I insane, or does that really work?

Never mind. What does work (once you get it to compile without crashes, which is an exercise in patience in itself) is to create the API of the plugin like I outlined before, build an RB app that uses the API, then open the package of the built app and symlink your built MyStuff.dylib to MyApp.app/Contents/Frameworks/ MyStuff.dylib.blabla. Then you can set your RB app as a custom executable and call "Build & Debug".

You can set breakpoints, use the source-level debugger etc or just "Build & Run" and see the output in the console.

I only got to find out how to use fix-and-continue and I'm up to speed. Cool :)

Cheers, Anjo
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>