Re: Cocoa debug/release setting
Re: Cocoa debug/release setting
- Subject: Re: Cocoa debug/release setting
- From: Fritz Anderson <email@hidden>
- Date: Sat, 20 Sep 2008 09:56:33 -0500
On 20 Sep 2008, at 8:33 AM, René v Amerongen wrote:
I have a small irritating problem.
If I use debug as configuration I cant use breakpoints.
If I select release then my breakpoints are working.
I dont see what I did change compared with my former project and
cant find any particulair in my settings.
Of course maybe I did overlook something.
Does someone knows what the setting are to change this.
What version of Xcode are you using, and on what version of Mac OS X?
1:
In the Preferences window, Debugging pane, Symbol Loading Options:
Load symbols lazily, uncheck that box. Try debugging.
2:
With the configuration set to Debug, and the problem target active,
select Project > Edit Active Target, then select the Build tab of the
resulting Target Info window. Type "debug" into the search field at
the upper-right.
Debug Information Format should be set to DWARF.
Strip Debug Symbols During Copy should not be checked.
Generate Debug Symbols should be checked.
Level of Debug Symbols should be Default.
Optimization Level should be set to None [-O0]
3:
Do you still have that former project?
For the problem project, click in that list of settings in the Build
Tab, Edit > Select All, and drag the list into an empty text window.
Do the same for the former project, into another empty text window.
Do a file comparison between the files, using the command-line "diff"
command if you don't have any other means.
The comparison will probably tell you something.
— F
--
Fritz Anderson -- Xcode 3 Unleashed: Now in its second printing -- <http://x3u.manoverboard.org/
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden