Re: Debugging with x code
Re: Debugging with x code
- Subject: Re: Debugging with x code
- From: Andreas Grosam <email@hidden>
- Date: Mon, 22 Aug 2005 15:03:46 +0200
On 19.08.2005, at 20:38, Landon Cunningham wrote:
Ok I got it working but I upgraded to the x code 2.2 preview and it
seems to hit the breakpoints now.
There are a couple of problems of this kind, please search for debugger
problems in this list for more info. Some are caused due to limitations
in gdb, others are XCode related.
Not surprisingly, I already had similar problems, where the debugger
didn't stop under the most simplest test code. Just a breakpoint in the
first statement of the main function. After the program ran through the
first time, i clicked "Restart", and then it restarted and stopped at
the breakpoint. Sure, not an appropriate workaround for all cases.
And frankly, you might now found that XCode 2.2 (seed) fixed your
particular problem - but don't be sure.
In my humble opinion, XCode 2.1 looks like an early alpha, and the next
stage is a better alpha - but, of course, i much appreciate an early
beta, too. ;-)
Andreas
Landon
On 8/19/05, Wayne Anderson <email@hidden> wrote:
Is the breakpoint you are attempting to set in a different module
from the entry point of the program?
I have found, for example, when trying to debug code in a library or
plugin, that breakpoints often get skipped.
To work around this, I found that if you set a breakpoint at the
point where the plugin code is entered,
and then manually step into the plugin code and run from there, the
breakpoint will be hit.
Wayne
On Aug 19, 2005, at 11:38 AM, Landon Cunningham wrote:
Yeah I don't know how many times I've checked if generate debug
symbols is on and it is on. I also tried clean and build and still
nothing.
Landon
On 8/18/05, Daniel Jalkut <email@hidden> wrote:
If you haven't already done this, I would double (triple?) check
that
the Debug build configuration actually has "generate debug symbols"
turned on. I have noticed a few times that my build configuration
didn't have this turned on, and it was the cause for my breakpoints
not working.
Also, if you modified the default build location settings such that
the Debug and Release build results are going to the same location
on
disk, you'll want to make sure you run a "Clean" and then do a full
rebuild with Debug build configuration, to make sure there aren't
any
stale non-symbolic objects around that are getting linked in.
Daniel
On Aug 18, 2005, at 5:35 PM, Landon Cunningham wrote:
Hey Everyone,
I am new to this cocoa programming and I am trying to get the
degbugger working and it just won't work. I am using x code 2.1 and
just trying to set a breakpoint and nothing happens. I have
checked to
see whethere generate debug symbols is on and it is. I am wondering
could I be doing it wrong? To debug, I set a break point on the
side
by clicking on the line number. Then I make sure that it is in the
debug build settting. Then I click on build and debug right? When
I do
this the debugger pops up then says at the bottom that the
debugging
session ended normally. I have tried building and running with my
breakpoint set and nothing happens. So what should I do, or
check , or
even reinstall?
Thanks in advance,
Landon Cunningham
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com
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:
40redrocksw.com
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:
email@hidden
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