On Jul 25, 2006, at 4:02 PM, Theodore H. Smith wrote:
My guess is ClassData is returning the wrong value. Is everything
set up correct? instance is probably correct, but is sampleClass
good, or sampleClassData?
Try something like:
if (!me) {
REALMessageBox( "argh me=nil" );
}
Except you'll need a function which takes a char*, as
REALMessageBox takes a REALstring.
Can you set breakpoints in your plugin? Or printf stuff to the
console? You must be able to DebugStr stuff to the console...
that's always on OSX.
I have not been able to get REALbasic and CodeWarrior to work with
breakpoints. I don't know what I need to do to get that to work, all
break points are just ignored even though I am running in the
CodeWarrior debugger (with auto RB launch).
In regards to logging, yes I have been using a combination of
REALbasic System.DebugLog and DebugStr. In REALbasic a
System.DebugLog msg is right before the call to the method and it
outputs to the Console as expected. In the method, I have a DebugStr
call which is never printed, so the crash seems to be occurring
somewhere in the framework even before my plugin method is getting
called. There doesn't seem to be anything else that I can do to
isolate this.
Like I mentioned before, the properties are working fine. It is just
the methods that are getting all screwy.
_______________________________________________
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>