Setting a breakpoint in a library
Setting a breakpoint in a library
- Subject: Setting a breakpoint in a library
- From: David Dunham <email@hidden>
- Date: Thu, 4 Jan 2007 10:57:52 -0800
I'm trying to set a breakpoint in a static library (which I built
earlier):
(gdb) b png_warning
Note: breakpoints 5 and 8 also set at pc 0x7db00.
Breakpoint 13 at 0x7db00: file /Users/david/GameHouse/cgames/Match3/
HighScoreSprite.cpp, line 25.
But png_warning is actually defined in libpng.a, not
HighScoreSprite.cpp.
And if I look at the breakpoints window, neither libpng nor
HighScoreSprite.cpp show up. (My code does stop at
#0 __static_initialization_and_destruction_0 (__initialize_p=1,
__priority=65535) at /Users/david/GameHouse/cgames/Match3/
HighScoreSprite.cpp:25
and
#0 HighScoreSprite::forceInclude () at /Users/david/GameHouse/cgames/
Match3/HighScoreSprite.cpp:25
but not png_warning().
David Dunham Macintosh Game Developer GameHouse Studios
+1 206 926 5722 http://www.gamehouse.com
"They said it couldn't be done but sometimes it doesn't
work out that way." -- Casey Stengel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden