Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Debugging problems "No source file named ..."(Debugging problems "No source file named ...")
Debugging problems "No source file named ..." [message #525428] Tue, 06 April 2010 14:37 Go to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: April 2010
Junior Member
I have just installed CDT and got it to work compiling. However when I tried to debug I had a couple of problems in the console window.

The first was " .gdbinit: No such file or directory." which didnt halt the process.

then came the following errors

.
.
.
72^error,msg="No registers."
(gdb)
73-break-insert /home/roger/workspace/Demo/src/demo.c:121
73^error,msg="No source file named /home/roger/workspace/Demo/src/demo.c."
(gdb)
74-break-insert -t main
.
.
.
Stopped due to shared library event\n"

However it continued and had the same error twice more

78-break-insert /home/roger/workspace/Demo/src/demo.c:121
78^error,msg="No source file named /home/roger/workspace/Demo/src/demo.c."
(gdb)


The source file does exist and has read permissions. There is an extra full stop after the file name and I was wondering whether this full stop was actually a part of the string when the file was being searched for.
Since this is all new to me it could be anything

Regards

Roger Munford

Re: Debugging problems "No source file named ..." [message #525486 is a reply to message #525428] Tue, 06 April 2010 17:03 Go to previous messageGo to next message
Harry Houdini is currently offline Harry HoudiniFriend
Messages: 142
Registered: February 2010
Senior Member
No Real Name wrote on Tue, 06 April 2010 10:37
The first was " .gdbinit: No such file or directory." which didnt halt the process.

In your debug configuration, in the Debug tab, empty the field "GDB Command File".
Re: Debugging problems "No source file named ..." [message #525495 is a reply to message #525486] Tue, 06 April 2010 17:14 Go to previous message
No real name is currently offline No real nameFriend
Messages: 2
Registered: April 2010
Junior Member
I removed it and the .gbinit problem disappeared. However the other problems remain.
I thought that the .gbinit file would have been created by eclipse

Thanks

Roger
Previous Topic:Builders : what are they ? What do they do ?
Next Topic:Cannot run program "make": Unknown reason)
Goto Forum:
  


Current Time: Thu Mar 28 17:27:05 GMT 2024

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

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

Back to the top