Re: Xcode 2.0 - No source file named foo.c
Re: Xcode 2.0 - No source file named foo.c
- Subject: Re: Xcode 2.0 - No source file named foo.c
- From: Jim Ingham <email@hidden>
- Date: Mon, 9 May 2005 17:42:33 -0700
I bet you need to turn off the lazy loading of symbols. You can
either do this in the general Debugging preferences, or by explicitly
changing the load level for your executable.
This is an optimization where Xcode uses the build system to tell it
what source files are in which shared libraries so it can in turn
tell gdb which binaries it needs to load debug symbols for. That
allows us to process less info at startup (and thus start up
faster). But for a project with no targets, and only a custom
executable, Xcode doesn't know which files are in which executables.
So you need to turn off the optimization.
Jim
On May 9, 2005, at 5:21 PM, Matt Veenstra wrote:
Hello,
I did a quick search, but could not find any help. I just
subscribed to
this list so maybe I missed something as well.
Our applications are built with make files, and then we use Xcode
to debug
the C code of these. In the past I have done the following.
- Created and empty project
- Drug in all of my source files.
- Created a custom executable.
- Set break points in the gutter of the files.
- Then was happily on my way to debugging.
With the new Xcode I can no longer do this. I get...
"No source file named foo.c"
...spit into the console window. And the application of course never
breaks.
How can I add a break point? Why does this no longer work? Am I
missing
something to make this happen.
I would have been happy to use the old Xcode or project builder,
but those
no longer run under 10.4. They get an error whenever creating a new
project. :(
Thanks for any advice,
Matt Veenstra
Tribeworks
_______________________________________________
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
_______________________________________________
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