Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Running Debugger 'Target selection failed'
Running Debugger 'Target selection failed' [message #1236759] Tue, 28 January 2014 02:08 Go to next message
Jim Seluga is currently offline Jim SelugaFriend
Messages: 1
Registered: January 2014
Junior Member
I am new to eclipse.

I am trying to run a simple hello world fortran program with the eclipse debugger. I am running on windows 7 64bit with cygwin_64 and 'Eclipse for Parallel Application Developers' build id:20130919-0819. I followed the steps on youtube from 'fortran part 2-compiling and running in windows 7'(can't post a link) to install.

The program is (and runs fine but won't debug):
program main
print*, 'hello world'
print*, 'Test1'
print*, 'Test2'
end program main

When trying to run through the debugger I get these errors:

Console:
.gdbinit: No such file or directory.
Reading symbols from /cygdrive/c/Users/Jim/workspace/examples/Debug/examples.exe...done.

Message window (Problem Occurred):
'Launching examples.exe' has encountered a problem.
Target Selection failed.

Target selection failed.
/dev/ttyS0: No such device or address.
/dev/ttyS0: No such device or address.
/dev/ttyS0: No such device or address.



Thanks for you help

jim
Re: Running Debugger 'Target selection failed' [message #1236968 is a reply to message #1236759] Tue, 28 January 2014 14:05 Go to previous messageGo to next message
Marc Khouzam is currently offline Marc KhouzamFriend
Messages: 357
Registered: July 2009
Senior Member
> .gdbinit: No such file or directory.
That error is ok, you can ignore it.

I've never seen the other error. You can look at the 'gdb traces' to know in more detail what error is happening:
http://wiki.eclipse.org/CDT/User/FAQ#I.27ve_been_asked_for_.27gdb_traces.27.2C_where_can_I_find_them.3F

Marc
Re: Running Debugger 'Target selection failed' [message #1272731 is a reply to message #1236759] Tue, 18 March 2014 16:16 Go to previous message
Glen Flint is currently offline Glen FlintFriend
Messages: 2
Registered: March 2014
Junior Member
I'm having the same problem but with Photran. Did you find a solution?
Previous Topic:How do I get data from a project CDT wizard
Next Topic:qbang RXTX inoperative
Goto Forum:
  


Current Time: Thu Apr 25 00:15:10 GMT 2024

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

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

Back to the top