I swear I spent many hours going through all the newsgroups and
following all the directions to debugging a shared library. I know
Ron has posted about this topic many times, but I simply cannot debug
my shared library using 8.3, OS 10.2.6.
I have opened the xSYM file, set my breakpoints, and launched the
application from the finder with the control key down (since
contextual menu pops up, I assume this means I should select "open"
and keep the control key down). Alas, the application starts up
without breaking in my library when it loads. Subsequent interaction
which I know calls my library also fails to cause the breakpoints to
hit.
I HAD CW 8.0, updated to 8.2, then 8.3. I then updated my dev tools
to the suggested December 2002. I even re-installed 8.3 in case the
order matters... I even trashed my MW prefs just for good measure.
Attempting to click the run in debugger button from the project window
causes my host apps "main thread" window to appear, but spinning beach
ball forever after that.
Attempting to attach to the app's process AFTER it has called my
library also causes a never ending spinning beach ball.
I must be missing some small crucial step. Please help and thank you,
Micah
David Phillip Oster - 30 Jul 2003 06:54 GMT
> I must be missing some small crucial step. Please help and thank you,
Have you considered adding an explicit call to:
Debugger();
early in some routine of your shared library that is called early by
your app?
This is a trick I've used in the past to get the debugger's attention.