main logo
Subject: Re: Different behavior in OS 9 and X
Author: jda
Posted: 2001/12/27 08:18:53
 
View Entire Thread
New Search


>
> > Either behavior is OK (the second makes a bit more sense to me, and
>> is probably more useful), but they should be consistent across OS's,
>> no?
>
>Yes. Probably on X they have change something in API.
>I must check this.
>
>BTW, John, did not you try CW Update 7.1 to see if they fix problem with
>debugging of plugins on X ?
>

Yes, and I can do it now! You can probably do it in 7.0, too, but
there's a trick that wasn't documented (at least, it tricked me). To
debug a shared library:

1. In the Target setting of your code, have the shared library built
in the same folder as the application (don't move it manually after
building it in another folder).

2. You MUST select Debug from the CW menu. In OS 9 you can launch
your application and .sym file separately, and when you run the app
it breaks into the debugger (if a breakpoint is set, of course). In
OS X, you can't do this -- you must use the Debug menu item.

Anyway, it worked for me, and I was finally able to track down a
nasty OS X-specific bug.

Good luck, Ruslan!

Jon
 
©2001 jda
<-- Prior Message New Search Next Message -->