Re: Breakpoints in a plugin
Re: Breakpoints in a plugin
- Subject: Re: Breakpoints in a plugin
- From: Justin Greenfield <email@hidden>
- Date: Thu, 21 Dec 2006 11:10:56 -0600
Basically, the steps outlined in the Q&A QA15000: Debugging a Web Kit
Plug-in in Xcode aren't working.
http://developer.apple.com/qa/qa2006/qa1500.html
Justin
On Dec 20, 2006, at 4:13 PM, Justin Greenfield wrote:
Well, this seems like it's a pretty regular subject for me over the
years, but once again I've found myself unable to get breakpoints
to fire in the Xcode debugger. A couple of weeks ago I upgraded to
a new machine (from a G5 to a MacPro) and today I needed to step
through something in the debugger, but no such luck. This all
worked at some point in the not too distant past, but I have no
idea what's screwed up now.
In this case, my project is a netscape plugin. I'm using XCode
2.4.1. I've set Safari to the custom executable. I have "Load
Symbols Lazily" unchecked in the XCode preferences. In "Debug-
>Tools->Shared Libraries" I have my plugin bundle set to "Starting
Level: All" and the default level for User Libraries set to
"All" (I also verified the bundle path is pointing to my debug build).
My build settings for the Debug config are as follow (Debug config,
All Settings, filtered on the word "debug"):
BUILD_VARIANTS = normal
DEBUG_INFORMATION_FORMAT = dwarf
ZERO_LINK = NO
SECTORDER_FLAGS =
DEAD_CODE_STRIPPING = NO
ONLY_LINK_ESSENTIAL_SYMBOLS = NO
STRIP_STYLE = all
COPY_PHASE_STRIP = NO
GCC_GENERATE_DEBUGGING_SYMBOLS = YES
GCC_DEBUGGING_SYMBOLS = full
GCC_ENABLE_SYMBOL_SEPARATION = YES
GCC_OPTIMIZATION_LEVEL = 0
GCC_ENABLE_FIX_AND_CONTINUE = NO
REZ_SHOW_DEBUG_OUTPUT = NO
These settings are identical to the settings I use for debugging
our application and that works fine.
Launch the debugger, load the plugin, no breakpoints fired.
(gdb) info break
Num Type Disp Enb Address What
1 breakpoint keep y <PENDING> "DxDataBuilder.cpp:145
2 breakpoint keep y <PENDING> "CxDate.cpp:94
3 breakpoint keep y <PENDING> "MacFxPlugin.cpp:195
4 breakpoint keep y <PENDING> "MacFxPlugin.cpp:195
5 breakpoint keep y <PENDING> "MacFxPlugin.cpp:198
6 breakpoint keep y <PENDING> "ScopePlugin.cpp:882
7 breakpoint keep y <PENDING> "ScopePlugin.cpp:883
8 breakpoint keep y <PENDING> "ScopePlugin.cpp:884
9 breakpoint keep y <PENDING> "PluginApi.cpp:20
10 breakpoint keep y <PENDING> "PluginApi.cpp:56
11 breakpoint keep y <PENDING> "PluginApi.cpp:71
12 breakpoint keep y <PENDING> "PluginApi.cpp:81
It's not finding them. So, what am I doing wrong here?
Justin
--
Justin Greenfield
email@hidden
Senior Software Engineer
Oklahoma Climatological Survey - Software Development Group
http://sdg.ocs.ou.edu
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40cox.net
This email sent to email@hidden
_______________________________________________
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