Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to set breakpoints in a static lib?



Hello,

My app uses a 3rd party open source static library, which I build myself
with configure/make.  I have built it with -gfull. At quit my app
crashes in OFListBase::~OFListBase(), a method in the static lib.  My
backtrace shows all the symbols, and the editor shows the code.  It
seems therefore that debug symbols are present.

I'd really like to be able to set a breakpoint here, but it doesn't
work.  I've tried putting an arrow in the gutter, using 'b
OFListBase::~OFListBase()<TAB>' from the command line (then setting 8
different breakpoints for all the varieties of destructors), and using
'b oflist.cc:58', but it never stops.

What trick is needed?  Thanks!

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.