Re: Debugging Problems
Re: Debugging Problems
- Subject: Re: Debugging Problems
- From: "James Larcombe" <email@hidden>
- Date: Mon, 16 Jan 2006 16:53:46 -0000
Lyndsey Ferguson wrote:
2. I frequently find that sometimes Xcode's debugger will simply race
by any breakpoints I have made and then crash on the other side of my
dozen breakpoints that should have been triggered before the crash.
What do I have to do to make the breakpoints real?
Do you use subprojects to build your application? Breakpoints seem to be
stored on a per-project basis and I have found that the debugger can get
confused if you manage to set a breakpoint in a subproject instead of in
the top-level project.
For example, our application is built from several static libraries that
are built by subprojects of the top-level project. If I want to reliably
set a breakpoint in a source file from one of the libraries, I make sure
that the subproject containing that file is *NOT* open before I open the
file itself. Then the file will open as if it were part of the top-level
project and setting breakpoints in it works fine.
If I don't follow this procedure, then setting a breakpoint in this file
will store it in the sub-project, and such a breakpoint will usually not
be triggered when debugging the main application.
In general, Xcode's support for subprojects seems to be quite crude.
James
_______________________________________________
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