[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.cdt] 'Target selection failed' when try to debug

I am a newcomer with eclipse. In the newcomer forum I was adviced to ask my question here.
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?