Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » "source not found in debug" - but debugger works ok
"source not found in debug" - but debugger works ok [message #179233] Fri, 03 November 2006 16:14 Go to next message
Eclipse UserFriend
Originally posted by: lgrigely.EO.kollmorgen.com

i now have this problem after using CDT fine for past 6 months

- i think it occurred after compiling C++ for first time (after a few miles
of java and C code development...)
- running on Win XP
- re-installed Cygwin and Eclipse 3.2.1

symptoms =
1 ) compile and debugger appear to work, example here was a small "c"
program (not c++)

2) during debug, breakpoint line numbers display properly in the debug
window, i.e.

" 1 main() at \cygdrive\c\dev_root\ws1\Project_name\APPNAME_MAIN.c:185
0x00401170 "

3) there are no spaces in project path (saw a bug reported to cause this)

4) selected full path with "Edit Source Lookup Path" button - no success

5) simply refuses to open source file - even though it has full reference
to proper file name

any comments?
Re: "source not found in debug" - fixed [message #179242 is a reply to message #179233] Fri, 03 November 2006 16:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lgrigely.EO.kollmorgen.com

My impatience.....

see previous post on 30 Aug by Don Porges

need to map cygwin to drive path

> Preferences->C/C++->Debug->Common Source Lookup Pathand add a mapping from
> C: to /cygdrive/c .

thank you Don
Re: "source not found in debug" - fixed [message #179283 is a reply to message #179242] Sun, 05 November 2006 14:52 Go to previous message
Eclipse UserFriend
Originally posted by: lemaypNO_SPAM.videotron.ca

Larry,

thanks for replying your solution once you fixed it as this is the exact
same situation that I was trying to resolve in my previous message on 18/10.
I just tried what you have posted here and now my debugger is able to
properly show the file source. As you, I was using CDT and the debugger for
over 6 months without any problem, until I reinstalled cywing elsewhere..

thanks,

- Pierre

"Larry G" <lgrigely@EO.kollmorgen.com> wrote in message
news:eigcs2$dt3$1@utils.eclipse.org...
> My impatience.....
>
> see previous post on 30 Aug by Don Porges
>
> need to map cygwin to drive path
>
>> Preferences->C/C++->Debug->Common Source Lookup Pathand add a mapping
>> from C: to /cygdrive/c .
>
> thank you Don
>
>
>
Previous Topic:Linker doesn't add space between -l and path
Next Topic:Started to have problem with CDT since reinstalled/relocated cygwin
Goto Forum:
  


Current Time: Wed Jul 16 12:34:05 EDT 2025

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

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

Back to the top