Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » 'Target selection failed' when try to debug
'Target selection failed' when try to debug [message #219294] Mon, 02 July 2007 21:55 Go to next message
Nick Schweyer is currently offline Nick SchweyerFriend
Messages: 175
Registered: July 2009
Senior Member
I am a newcomer with eclipse.
I am working with Suse Linux 10.1 and
Eclipse 3.2, just updated
CDT 3.1.1

I try to debug a C-program (not C++) which principally is running without
error messages but the results are wrong. The code contains outputs to
stderr like
fprintf(stderr, ...)
I suppose these statements as the source of the problem.

For installation of Eclipse and CDT I followed the tutorial of Brian Lee
(www.cs.umanitoba.ca/~eclipse) and tried his example for debugging with my
program.
The tutorial asks to click on Window -> customize perspective from the
debug perspective. Then there should be a branch 'other' with a selection
'C/C++ debug' in it.

In my eclipse there is no such branch at all. But there is a possible
selection 'C++' which I selected!
When I am starting debugging by clicking on 'Debug' a small window with
title 'Launching' and the message 'Target selection failed' appears. The
details tell me '/dev/ttyS0: keine Berechtigung (english: no rights)'.
Trying to do the same things as root has the same results, but the details
now tell me '/dev/ttyS0: input/output error'.

I have no idea how to cure the problem. Can somebody help me?


Niko

Eclipse-CDT Version: 2019-12 (4.14.0), Win10 64bit
Re: 'Target selection failed' when try to debug [message #219307 is a reply to message #219294] Mon, 02 July 2007 22:53 Go to previous message
Mark Dexter is currently offline Mark DexterFriend
Messages: 324
Registered: July 2009
Senior Member
nikosch wrote:
> I am a newcomer with eclipse.
> I am working with Suse Linux 10.1 and
> Eclipse 3.2, just updated
> CDT 3.1.1
>
> I try to debug a C-program (not C++) which principally is running
> without error messages but the results are wrong. The code contains
> outputs to stderr like
> fprintf(stderr, ...) I suppose these statements as the source of the
> problem.
>
> For installation of Eclipse and CDT I followed the tutorial of Brian Lee
> (www.cs.umanitoba.ca/~eclipse) and tried his example for debugging with
> my program.
> The tutorial asks to click on Window -> customize perspective from the
> debug perspective. Then there should be a branch 'other' with a
> selection 'C/C++ debug' in it.
>
> In my eclipse there is no such branch at all. But there is a possible
> selection 'C++' which I selected!
> When I am starting debugging by clicking on 'Debug' a small window with
> title 'Launching' and the message 'Target selection failed' appears. The
> details tell me '/dev/ttyS0: keine Berechtigung (english: no rights)'.
> Trying to do the same things as root has the same results, but the
> details now tell me '/dev/ttyS0: input/output error'.
>
> I have no idea how to cure the problem. Can somebody help me?
>
>
Hi. I think you'll have more luck in the eclipse.tools.cdt. Also, you
might try downloading the just-released 3.3 version. I believe there
have been substantial improvements in the C development area in 3.3.
Hope this helps. Mark Dexter
Previous Topic:java.lang.UnsatisfiedLinkError: no swt-gtk
Next Topic:programmatically loading tool-bar button
Goto Forum:
  


Current Time: Fri Apr 26 15:27:07 GMT 2024

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

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

Back to the top