Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Debugger can't find source: (7 Items)
   
Debugger can't find source  
I have 2 small projects in one workspace, each one is a test utility. They both compile fine, but one complains that the
 source file is not found when I launch the debugger. I have checked and compared the debugger settings, especially the 
source path, and I can't see what's wrong. Any ideas?

Thanks, Ron
RE: Debugger can't find source  
Could you paste the exact message from gdb log? 

Also, please specify which gcc version are you using to compile and which
gdb version are you using (paste "show version" output).

Thanks
Re: Debugger can't find source  
If you using IDE 4.5 to enable full gdb log click verbose console mode 
option in Debugger tab of launch configuration

Do you use any source links, external project location,etc in your projects?




Attachment: Text elaskavaia.vcf 94 bytes
Re: Debugger can't find source  
I'm using IDE 4.0.1, compiling with gcc 3.3.5.

My application does link a remote library, but so does the other project that debugs properly.

I noticed that I do get a warning:
Error launching external scanner info generator (gcc -E -P -v -dD C:/Work/Tools/.metadata/.plugins/org.eclipse.cdt.make.
core/specs.cpp)

Output on debug console:
MsgNak received - resending
attach 462866
Warning: /cygdrive/c/Work/Tools/UART/\336\377\377\377\006: No such file or directory.
No source file named uart.cpp.
No source file named uart.cpp.
No source file named uart.cpp.
No source file named uart.cpp.
No source file named uart.cpp.
No source file named uart.cpp.
No symbol "delayNum" in current context.
mi_cmd_var_create: unable to create variable object
No symbol "repeatNum" in current context.
mi_cmd_var_create: unable to create variable object
Re: Debugger can't find source  
Hi, 

I am facing the same issue "MsgNak received - resending".

Here is the detailed message:

MsgNak received - resending
attach 679974
Warning: /cygdrive/c/TCS/QNXWorkspace/WakuWaku/\336\377\377\377\006: No such file or directory.
Stopped due to shared library event
Stopped due to shared library event
Stopped due to shared library event
Stopped due to shared library event
Stopped due to shared library event
Stopped due to shared library event


Any clue will be really appreciated...

Thanks,
Shivendra
Re: Debugger can't find source  
Shivendra,

> Any clue will be really appreciated...

Hmm.

Can you please try the latest gdb ?

http://community.qnx.com/sf/frs/do/viewRelease/projects.toolchain/frs.gdb.gdb_6_7_u8

There:  win32-gdb-u8.zip 
make sure You copy them to Your to your 

c:\whateverpath\QNX632\host\win32\x86\usr\bin directory

save away the old gdbs there before doing so.

Something better ?

Jeevan

Re: Debugger can't find source  
Shivendra Tiwari wrote:
> Hi, 
> 
> I am facing the same issue "MsgNak received - resending".

This is a warning and will always show up at connection - you can ignore it.

> 
> Here is the detailed message:
> 
> MsgNak received - resending
> attach 679974
> Warning: /cygdrive/c/TCS/QNXWorkspace/WakuWaku/\336\377\377\377\006: No such file or directory.

What is gdb version you are using? Gdb 6.7 is not built using cygwin and therefore doesn't understand cygwin style paths
.

Please make sure you use "normal" windows paths, e.g. C:/TCS/QNXWorkspace.....