Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Debugging plugins, hellooo???? (Real Studio Plugins Mailinglist archive)

Back to the thread list
Previous thread: Unlocking or not?
Next thread: Debugging plugins, again...


macosx and unix paths   -   GOLD
  Debugging plugins, hellooo????   -   Theodore H. Smith
   Re: Debugging plugins, hellooo????   -   Christian Schmitz
   Re: Debugging plugins, hellooo????   -   Norman Palardy
   Re: Debugging plugins, hellooo????   -   Jonathan Johnson
   Re: Debugging plugins, hellooo????   -   Ruslan Zasukhin
    Re: Debugging plugins, hellooo????   -   Theodore H. Smith
     Re: Debugging plugins, hellooo????   -   Ruslan Zasukhin
    Re: Debugging plugins, hellooo????   -   Chris Dillman
     Re: Debugging plugins, hellooo????   -   Ruslan Zasukhin
   Re: Debugging plugins, hellooo????   -   Peter K. Stys

Debugging plugins, hellooo????
Date: 22.06.07 17:15 (Fri, 22 Jun 2007 17:15:58 +0100)
From: Theodore H. Smith

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????????

Re: Debugging plugins, hellooo????
Date: 22.06.07 17:40 (Fri, 22 Jun 2007 18:40:33 +0200)
From: Christian Schmitz
Theodore H. Smith <<email address removed>> 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 have never used a debugger with my plugins.

Gruß
Christian

-

Re: Debugging plugins, hellooo????
Date: 22.06.07 17:45 (Fri, 22 Jun 2007 10:45:51 -0600)
From: Norman Palardy

On 22-Jun-07, at 10: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????????

Beyond what you'd already tried I have no idea

There are only a few people I can think of that might

Bjorn, Christian, Alfred, Jon

I found this but I have no idea if this is what you tried

http://rbgazette.com/?p28

Note that this is ONLY useful if you are declaring into a dylib

There's also this thread in the forums
http://forums.realsoftware.com/viewtopic.php?p&788

Again I'm not sure if this is what you tried

Jon has some infor here but not much related to debuggin the dylib
http://nilobject.com/?p4
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Debugging plugins, hellooo????
Date: 22.06.07 18:01 (Fri, 22 Jun 2007 12:01:51 -0500)
From: Jonathan Johnson

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>

Re: Debugging plugins, hellooo????
Date: 22.06.07 19:32 (Fri, 22 Jun 2007 21:32:29 +0300)
From: Ruslan Zasukhin
On 22/6/07 7:15 PM, "Theodore H. Smith" <<email address removed>> 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????????

Yes we always use CodeWarrior and XCODE debuggers for development of
Valentina for REALbasic

Its easy and effective.

We can debug
as phase of LOAD plugin,
so phase of runtime work of plugin.

Everything is tuned in XCODE project,
Only one issue I have not found how to automate,
So for each new executable it is required do one copy paste.

Re: Debugging plugins, hellooo????
Date: 22.06.07 19:32 (Fri, 22 Jun 2007 19:32:42 +0100)
From: Theodore H. Smith

On 22 Jun 2007, at 19:32, Ruslan Zasukhin wrote:

> On 22/6/07 7:15 PM, "Theodore H. Smith" <<email address removed>> 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????????
>
> Yes we always use CodeWarrior and XCODE debuggers for development of
> Valentina for REALbasic
>
> Its easy and effective.
>
> We can debug
> as phase of LOAD plugin,
> so phase of runtime work of plugin.
>
> Everything is tuned in XCODE project,
> Only one issue I have not found how to automate,
> So for each new executable it is required do one copy paste.

I have CodeWarrior 8.3, is it good enough?

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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Debugging plugins, hellooo????
Date: 23.06.07 06:49 (Sat, 23 Jun 2007 08:49:55 +0300)
From: Ruslan Zasukhin
On 22/6/07 9:32 PM, "Theodore H. Smith" <<email address removed>> wrote:

>> We can debug
>> as phase of LOAD plugin,
>> so phase of runtime work of plugin.
>>
>> Everything is tuned in XCODE project,
>> Only one issue I have not found how to automate,
>> So for each new executable it is required do one copy paste.
>
> I have CodeWarrior 8.3, is it good enough?

Yes of course.

I believe Thomas Tempelmann have describe my steps to debug RB plugin using
CW in his plugin starter.

What exactly problem you have ?

Re: Debugging plugins, hellooo????
Date: 22.06.07 19:39 (Fri, 22 Jun 2007 13:39:17 -0500)
From: Chris Dillman
>On 22/6/07 7:15 PM, "Theodore H. Smith" <<email address removed>> 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????????
>
>Yes we always use CodeWarrior and XCODE debuggers for development of
>Valentina for REALbasic
>
>Its easy and effective.
>
>We can debug
> as phase of LOAD plugin,
> so phase of runtime work of plugin.
>
>Everything is tuned in XCODE project,
>Only one issue I have not found how to automate,
>So for each new executable it is required do one copy paste.

Hmmmm
What do you copy and paste exactly?

Re: Debugging plugins, hellooo????
Date: 23.06.07 04:23 (Sat, 23 Jun 2007 06:23:56 +0300)
From: Ruslan Zasukhin
On 22/6/07 9:39 PM, "Chris Dillman" <<email address removed>> wrote:

>> Only one issue I have not found how to automate,
>> So for each new executable it is required do one copy paste.
>
> Hmmmm
> What do you copy and paste exactly?

Name of executable is changed and XCODE do not have option or I have not
find it something as #EXEC_NAME

Re: Debugging plugins, hellooo????
Date: 25.06.07 19:40 (Mon, 25 Jun 2007 14:40:02 -0400)
From: Peter K. Stys
On 6/22/07, Ruslan Zasukhin <<email address removed>> wrote:
> On 22/6/07 7:15 PM, "Theodore H. Smith" <<email address removed>> 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????????
>
> Yes we always use CodeWarrior and XCODE debuggers for development of
> Valentina for REALbasic
>
> Its easy and effective.
>
> We can debug
> as phase of LOAD plugin,
> so phase of runtime work of plugin.
>
> Everything is tuned in XCODE project,
> Only one issue I have not found how to automate,
> So for each new executable it is required do one copy paste.
>

This used to be easy, now it seems convoluted. What would be REALLY
helpful is if RS created a recipe on how exactly to do what Ruslan is
referring to. This issue comes up regularly, so there should be an
"official" reliable way debug plugins, rathen than peppering your code
with DebugStr calls like I do.

P.