Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / January 2006



Tip: Looking for answers? Try searching our database.

Xcode debugger won't stop at breakpoints??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve Edwards - 30 Jan 2006 11:30 GMT
Hi,

I'm trying to debug the Downloader example
(Developer/Examples/WebKit/Downloader), but despite littering
MyDocument.m with breakpoints, the debugger does not stop, even for
obvious interface button usage that you can see must be getting called.
I've found this in a couple of other Apple projects, but I never get
this problem with my own code.

I've double-checked that the breakpoints are enabled. Are there any
other factors that could cause breakpoints not to work?

Thanks

Steve
Michael Ash - 30 Jan 2006 14:18 GMT
> Hi,
>
[quoted text clipped - 7 lines]
> I've double-checked that the breakpoints are enabled. Are there any
> other factors that could cause breakpoints not to work?

Make sure you're actually running in the debugger (Build & Debug, not
Build & Run), and that debug symbols are enabled (your build style is
Development, not Deployment, and the appropriate checkbox is checked in
your build settings). You should probably also make sure that
optimizations are turned off. While this won't generally result in missing
breakpoints, it can cause weird debugger behavior.

Signature

Michael Ash
Rogue Amoeba Software

Steve Edwards - 30 Jan 2006 14:52 GMT
> > Hi,
> >
[quoted text clipped - 14 lines]
> optimizations are turned off. While this won't generally result in missing
> breakpoints, it can cause weird debugger behavior.

Many thanks, Michael, the Apple Example projects were indeed defaulting
to Deployment build.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.