Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT Cgywin debugger can't find source under Eclipse 3.2
CDT Cgywin debugger can't find source under Eclipse 3.2 [message #200222] Fri, 24 August 2007 08:42 Go to next message
Eclipse UserFriend
Originally posted by: czhao.cs.toronto.edu

Platform:
Win XP SP2, SUN JDK/JRE 1.6.0_02, Eclipse 3.2.1 + CDT 3.1.2

I am debugging a large project (myProject) whose directory is located
like the following in Eclipse:
\root
\directory1
\directory2
\myProject
...
...
.(files).
...
...

Compile and link are fine.
When I am trying to debug(launching Cygwin/GNU gdb 6.5.50), Eclipse
reports saying it can't find the source, thus won't display the
debugging info properly during the debug process.

The problem still remains even when I have specified the full directory
path through "find source" button.

Any idea or comments?


Thank you

Chuck
Re: CDT Cgywin debugger can't find source under Eclipse 3.2 [message #200238 is a reply to message #200222] Fri, 24 August 2007 09:19 Go to previous messageGo to next message
Eclipse UserFriend
Chuck Zhao a écrit :
> Platform:
> Win XP SP2, SUN JDK/JRE 1.6.0_02, Eclipse 3.2.1 + CDT 3.1.2
>
> I am debugging a large project (myProject) whose directory is located
> like the following in Eclipse:
> \root
> \directory1
> \directory2
> \myProject
> ...
> ...
> .(files).
> ...
> ...
>
> Compile and link are fine.
> When I am trying to debug(launching Cygwin/GNU gdb 6.5.50), Eclipse
> reports saying it can't find the source, thus won't display the
> debugging info properly during the debug process.
>
> The problem still remains even when I have specified the full directory
> path through "find source" button.
>
> Any idea or comments?
>
>
> Thank you
>
> Chuck


Hi,

I'm not sure, but sometime it happen to me when I forgot to tell the
compiler what I want to compile in debug mode (gcc -g)


Mehdi
Re: CDT Cgywin debugger can't find source under Eclipse 3.2 [message #200246 is a reply to message #200238] Fri, 24 August 2007 09:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: czhao.cs.toronto.edu

of course, -g is on for the entire project in Makefile.

- Chuck

Mehdi Rabah wrote:
> Chuck Zhao a écrit :
>> Platform:
>> Win XP SP2, SUN JDK/JRE 1.6.0_02, Eclipse 3.2.1 + CDT 3.1.2
>>
>> I am debugging a large project (myProject) whose directory is located
>> like the following in Eclipse:
>> \root
>> \directory1
>> \directory2
>> \myProject
>> ...
>> ...
>> .(files).
>> ...
>> ...
>>
>> Compile and link are fine.
>> When I am trying to debug(launching Cygwin/GNU gdb 6.5.50), Eclipse
>> reports saying it can't find the source, thus won't display the
>> debugging info properly during the debug process.
>>
>> The problem still remains even when I have specified the full
>> directory path through "find source" button.
>>
>> Any idea or comments?
>>
>>
>> Thank you
>>
>> Chuck
>
>
> Hi,
>
> I'm not sure, but sometime it happen to me when I forgot to tell the
> compiler what I want to compile in debug mode (gcc -g)
>
>
> Mehdi
Re: CDT Cgywin debugger can't find source under Eclipse 3.2 [message #200533 is a reply to message #200246] Tue, 28 August 2007 10:38 Go to previous message
Eclipse UserFriend
See if this helps:
http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg1 1853.html
(Posting entitled "cdt debug can't find source files" on 17Dec2006)

....Beth
Previous Topic:Europa discovery site not working
Next Topic:no debugging of C++ programs on linux?
Goto Forum:
  


Current Time: Tue Jul 22 15:49:15 EDT 2025

Powered by FUDForum. Page generated in 0.24009 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top