Re: No Editor in Xcode 2.0 debugger]
Re: No Editor in Xcode 2.0 debugger]
- Subject: Re: No Editor in Xcode 2.0 debugger]
- From: Bruce Truax <email@hidden>
- Date: Fri, 13 May 2005 08:08:37 -0400
Did you build your project using the Development Style? When you switch to
development style it is necessary to clean and rebuild the project order for
the debugging symbols to be generated. If you do not do this then the
debugger will launch but it will never break at your breakpoints.
Bruce
> From: <email@hidden>
> Date: Thu, 12 May 2005 22:50:04 -0500 (CDT)
> To: Lists - Apple <email@hidden>
> Subject: Re: No Editor in Xcode 2.0 debugger]
>
>> The debugger wont show a source file until it actually breaks at a point
>> in the code - until then it doesn't know which source file to show! Try
>> putting a breakpoint in your code somewhere (click in the gutter of your
>> source code editing window) and running the debugger again. Make sure your
>> application executes the line you set the breakpoint at, and observe that
>> the debugger opens that source file with the PC at your breakpoint.
>>
>> Heath
>
> Thanks for the reply!
>
> I tried adding the breakpoints as suggested. The source still do not appear.
>
> Looking in the debugger console I get the following messages:
>
> [Session started at 2005-05-12 23:48:51 -0400.]
> GNU gdb 6.1-20040303 (Apple version gdb-384) (Mon Mar 21 00:05:26 GMT 2005)
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "powerpc-apple-darwin".
> Loading program into debugger?
>
> tty /dev/ttyp1
> Program loaded.
> No source file named helloworld.m.
> No source file named helloworld.m.
> (gdb)
>
> The file is saved in a project under my home directory.
>
> If anybody can help I would be greatly appreciated.
> _______________________________________________
> 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