Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Debugger does not work
Debugger does not work [message #84980] Mon, 03 November 2003 08:49 Go to next message
Eclipse UserFriend
Originally posted by: p1buehle.hsr.ch

Hello everyone

I installed the CDT Plugin, Version cdt-full-1.2-win32.zip
which I use on Eclipse 2.1.1, W2K installation.
Additionally I installed MinGW-3.1.0-1.exe which comes with a gdb Version
5.2.1, which should be ok.

Building und running C/C++ projects works fine,
(make, gcc and g++ are ok)
but I am not able to debug my application.

When starting debuggung I receive the error message:

Exception occoured during launch
Failed launching CDI Debugger: Error creating session: Target is not
responding (timed out)

When typing gdb -version in a console, the program is found on the
Harddisk. (Path should be ok)

Any idea where I could fix the problem?

Regards
Peter Bühler
Re: Debugger does not work [message #85059 is a reply to message #84980] Tue, 04 November 2003 08:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: p1buehle.hsr.ch

Peter Bühler wrote:

> Hello everyone

> I installed the CDT Plugin, Version cdt-full-1.2-win32.zip
> which I use on Eclipse 2.1.1, W2K installation.
> Additionally I installed MinGW-3.1.0-1.exe which comes with a gdb Version
> 5.2.1, which should be ok.

> Building und running C/C++ projects works fine,
> (make, gcc and g++ are ok)
> but I am not able to debug my application.

> When starting debuggung I receive the error message:

> Exception occoured during launch
> Failed launching CDI Debugger: Error creating session: Target is not
> responding (timed out)

> When typing gdb -version in a console, the program is found on the
> Harddisk. (Path should be ok)

> Any idea where I could fix the problem?

> Regards
> Peter Bühler


I solved the problem myself -> my installation of w2k is currupt. On a
different computer gdb worked without causing troubles.
Re: Debugger does not work [message #86709 is a reply to message #85059] Sat, 22 November 2003 14:49 Go to previous messageGo to next message
Eclipse UserFriend
>>Building und running C/C++ projects works fine,
>>(make, gcc and g++ are ok)
>>but I am not able to debug my application.
>>
>>When starting debuggung I receive the error message:
>>
>>Exception occoured during launch
>>Failed launching CDI Debugger: Error creating session: Target is not
>>responding (timed out)
>
> I solved the problem myself -> my installation of w2k is currupt. On a
> different computer gdb worked without causing troubles.

I'm getting the same error, on two different Windows XP machines, one of
which is a clean install as of a week ago. So I don't think the problem
is the operating system. However, I only get it on some projects. If I
make a simple hello world project as in the tutorial, the debugger works
fine.

I'm new to CDT, any suggestions of where to look in terms of logs or
traces or settings? I assume since it works on some projects, the basic
setup is okay.

Andrew McKinlay
http://www.suneido.com
Re: Debugger does not work [message #86722 is a reply to message #86709] Sat, 22 November 2003 15:10 Go to previous messageGo to next message
Eclipse UserFriend
Andrew McKinlay wrote:

>>> Building und running C/C++ projects works fine, (make, gcc and g++
>>> are ok)
>>> but I am not able to debug my application.
>>> When starting debuggung I receive the error message:
>>>
>>> Exception occoured during launch
>>> Failed launching CDI Debugger: Error creating session: Target is not
>>> responding (timed out)
>>
>>
>> I solved the problem myself -> my installation of w2k is currupt. On a
>> different computer gdb worked without causing troubles.
>
>
> I'm getting the same error, on two different Windows XP machines, one of
> which is a clean install as of a week ago. So I don't think the problem
> is the operating system. However, I only get it on some projects. If I
> make a simple hello world project as in the tutorial, the debugger works
> fine.
>
> I'm new to CDT, any suggestions of where to look in terms of logs or
> traces or settings? I assume since it works on some projects, the basic
> setup is okay.
>
> Andrew McKinlay
> http://www.suneido.com
>
After that last message, I guess I'd better provide more info!

OS: Windows XP
Eclipse Version: 2.1.2 (updated from 2.1.1 via update site)
Eclipse Path: c:/eclipse
CDT Version: 1.2.0 (installed from update site)
MinGW Version: 3.1.0 (GDB 5.2.1)
MinGW Path: c:/mingw310
Project Path: c:/dev/interp

I've also tried creating the same project under c:/eclipse, but same
results. I can debug it from the command line with gdb.

andrew
Re: Debugger does not work [message #87002 is a reply to message #86722] Mon, 24 November 2003 05:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: raul.remedios.tecsidel.es

Andrew McKinlay wrote:

> Andrew McKinlay wrote:

> >>> Building und running C/C++ projects works fine, (make, gcc and g++
> >>> are ok)
> >>> but I am not able to debug my application.
> >>> When starting debuggung I receive the error message:
> >>>
> >>> Exception occoured during launch
> >>> Failed launching CDI Debugger: Error creating session: Target is not
> >>> responding (timed out)
> >>
> >>
> >> I solved the problem myself -> my installation of w2k is currupt. On a
> >> different computer gdb worked without causing troubles.
> >
> >
> > I'm getting the same error, on two different Windows XP machines, one of
> > which is a clean install as of a week ago. So I don't think the problem
> > is the operating system. However, I only get it on some projects. If I
> > make a simple hello world project as in the tutorial, the debugger works
> > fine.
> >
> > I'm new to CDT, any suggestions of where to look in terms of logs or
> > traces or settings? I assume since it works on some projects, the basic
> > setup is okay.
> >
> > Andrew McKinlay
> > http://www.suneido.com
> >
> After that last message, I guess I'd better provide more info!

> OS: Windows XP
> Eclipse Version: 2.1.2 (updated from 2.1.1 via update site)
> Eclipse Path: c:/eclipse
> CDT Version: 1.2.0 (installed from update site)
> MinGW Version: 3.1.0 (GDB 5.2.1)
> MinGW Path: c:/mingw310
> Project Path: c:/dev/interp

> I've also tried creating the same project under c:/eclipse, but same
> results. I can debug it from the command line with gdb.

> andrew

I have same problem, but can't debug any programs, included HelloWorld.

My installation detalis are:

OS: SunOS 5.8
Eclipse Version: 2.1.2 (updated from 2.1.1 via update site)
Eclipse Path: ~/eclipse
CDT Version: 1.2.0 (installed from update site)
GNU Versions: gcc 3.3, gdb 5.0 y make 3.80

Thanks.

Raúl
Re: Debugger does not work [message #87062 is a reply to message #87002] Mon, 24 November 2003 07:38 Go to previous messageGo to next message
Eclipse UserFriend
Wasn't there a requirement of gdb 5.2.1 and higher?

Raúl Remedios schrieb:
> Andrew McKinlay wrote:
>
>
>>Andrew McKinlay wrote:
>
>
>>>>>Building und running C/C++ projects works fine, (make, gcc and g++
>>>>>are ok)
>>>>>but I am not able to debug my application.
>>>>>When starting debuggung I receive the error message:
>>>>>
>>>>>Exception occoured during launch
>>>>>Failed launching CDI Debugger: Error creating session: Target is not
>>>>>responding (timed out)
>>>>
>>>>
>>>>I solved the problem myself -> my installation of w2k is currupt. On a
>>>>different computer gdb worked without causing troubles.
>>>
>>>
>>>I'm getting the same error, on two different Windows XP machines, one of
>>>which is a clean install as of a week ago. So I don't think the problem
>>>is the operating system. However, I only get it on some projects. If I
>>>make a simple hello world project as in the tutorial, the debugger works
>>>fine.
>>>
>>>I'm new to CDT, any suggestions of where to look in terms of logs or
>>>traces or settings? I assume since it works on some projects, the basic
>>>setup is okay.
>>>
>>>Andrew McKinlay
>>>http://www.suneido.com
>>>
>>
>>After that last message, I guess I'd better provide more info!
>
>
>>OS: Windows XP
>>Eclipse Version: 2.1.2 (updated from 2.1.1 via update site)
>>Eclipse Path: c:/eclipse
>>CDT Version: 1.2.0 (installed from update site)
>>MinGW Version: 3.1.0 (GDB 5.2.1)
>>MinGW Path: c:/mingw310
>>Project Path: c:/dev/interp
>
>
>>I've also tried creating the same project under c:/eclipse, but same
>>results. I can debug it from the command line with gdb.
>
>
>>andrew
>
>
> I have same problem, but can't debug any programs, included HelloWorld.
>
> My installation detalis are:
>
> OS: SunOS 5.8
> Eclipse Version: 2.1.2 (updated from 2.1.1 via update site)
> Eclipse Path: ~/eclipse
> CDT Version: 1.2.0 (installed from update site)
> GNU Versions: gcc 3.3, gdb 5.0 y make 3.80
>
> Thanks.
>
> Raúl
>
>
>
>
Re: Debugger does not work [message #87161 is a reply to message #87062] Mon, 24 November 2003 08:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: raul.remedios.tecsidel.es

Thank you,

I have instaled gdb 5.3, and the problem is solved.

Raúl.

Henning Riedel wrote:

> Wasn't there a requirement of gdb 5.2.1 and higher?

> Raúl Remedios schrieb:
> > Andrew McKinlay wrote:
> >
> >
> >>Andrew McKinlay wrote:
> >
> >
> >>>>>Building und running C/C++ projects works fine, (make, gcc and g++
> >>>>>are ok)
> >>>>>but I am not able to debug my application.
> >>>>>When starting debuggung I receive the error message:
> >>>>>
> >>>>>Exception occoured during launch
> >>>>>Failed launching CDI Debugger: Error creating session: Target is not
> >>>>>responding (timed out)
> >>>>
> >>>>
> >>>>I solved the problem myself -> my installation of w2k is currupt. On a
> >>>>different computer gdb worked without causing troubles.
> >>>
> >>>
> >>>I'm getting the same error, on two different Windows XP machines, one of
> >>>which is a clean install as of a week ago. So I don't think the problem
> >>>is the operating system. However, I only get it on some projects. If I
> >>>make a simple hello world project as in the tutorial, the debugger works
> >>>fine.
> >>>
> >>>I'm new to CDT, any suggestions of where to look in terms of logs or
> >>>traces or settings? I assume since it works on some projects, the basic
> >>>setup is okay.
> >>>
> >>>Andrew McKinlay
> >>>http://www.suneido.com
> >>>
> >>
> >>After that last message, I guess I'd better provide more info!
> >
> >
> >>OS: Windows XP
> >>Eclipse Version: 2.1.2 (updated from 2.1.1 via update site)
> >>Eclipse Path: c:/eclipse
> >>CDT Version: 1.2.0 (installed from update site)
> >>MinGW Version: 3.1.0 (GDB 5.2.1)
> >>MinGW Path: c:/mingw310
> >>Project Path: c:/dev/interp
> >
> >
> >>I've also tried creating the same project under c:/eclipse, but same
> >>results. I can debug it from the command line with gdb.
> >
> >
> >>andrew
> >
> >
> > I have same problem, but can't debug any programs, included HelloWorld.
> >
> > My installation detalis are:
> >
> > OS: SunOS 5.8
> > Eclipse Version: 2.1.2 (updated from 2.1.1 via update site)
> > Eclipse Path: ~/eclipse
> > CDT Version: 1.2.0 (installed from update site)
> > GNU Versions: gcc 3.3, gdb 5.0 y make 3.80
> >
> > Thanks.
> >
> > Raúl
> >
> >
> >
> >
Re: Debugger does not work [message #87315 is a reply to message #87161] Mon, 24 November 2003 14:28 Go to previous messageGo to next message
Eclipse UserFriend
Unfortunately, I have 5.2.1 as per requirements, and I still have the
problem.

andrew

Raúl Remedios wrote:
> Thank you,
>
> I have instaled gdb 5.3, and the problem is solved.
>
> Raúl.
>
> Henning Riedel wrote:
>
>
>>Wasn't there a requirement of gdb 5.2.1 and higher?
>
>
>>Raúl Remedios schrieb:
>>
>>>Andrew McKinlay wrote:
>>>
>>>
>>>
>>>>Andrew McKinlay wrote:
>>>
>>>
>>>>>>>Building und running C/C++ projects works fine, (make, gcc and g++
>>>>>>>are ok)
>>>>>>>but I am not able to debug my application.
>>>>>>>When starting debuggung I receive the error message:
>>>>>>>
>>>>>>>Exception occoured during launch
>>>>>>>Failed launching CDI Debugger: Error creating session: Target is not
>>>>>>>responding (timed out)
>>>>>>
>>>>>>
>>>>>>I solved the problem myself -> my installation of w2k is currupt. On a
>>>>>>different computer gdb worked without causing troubles.
>>>>>
>>>>>
>>>>>I'm getting the same error, on two different Windows XP machines, one of
>>>>>which is a clean install as of a week ago. So I don't think the problem
>>>>>is the operating system. However, I only get it on some projects. If I
>>>>>make a simple hello world project as in the tutorial, the debugger works
>>>>>fine.
>>>>>
>>>>>I'm new to CDT, any suggestions of where to look in terms of logs or
>>>>>traces or settings? I assume since it works on some projects, the basic
>>>>>setup is okay.
>>>>>
>>>>>Andrew McKinlay
>>>>>http://www.suneido.com
>>>>>
>>>>
>>>>After that last message, I guess I'd better provide more info!
>>>
>>>
>>>>OS: Windows XP
>>>>Eclipse Version: 2.1.2 (updated from 2.1.1 via update site)
>>>>Eclipse Path: c:/eclipse
>>>>CDT Version: 1.2.0 (installed from update site)
>>>>MinGW Version: 3.1.0 (GDB 5.2.1)
>>>>MinGW Path: c:/mingw310
>>>>Project Path: c:/dev/interp
>>>
>>>
>>>>I've also tried creating the same project under c:/eclipse, but same
>>>>results. I can debug it from the command line with gdb.
>>>
>>>
>>>>andrew
>>>
>>>
>>>I have same problem, but can't debug any programs, included HelloWorld.
>>>
>>>My installation detalis are:
>>>
>>>OS: SunOS 5.8
>>>Eclipse Version: 2.1.2 (updated from 2.1.1 via update site)
>>>Eclipse Path: ~/eclipse
>>>CDT Version: 1.2.0 (installed from update site)
>>>GNU Versions: gcc 3.3, gdb 5.0 y make 3.80
>>>
>>>Thanks.
>>>
>>>Raúl
>>>
>>>
>>>
>>>
>
>
>
Re: Debugger does not work [message #87346 is a reply to message #87315] Mon, 24 November 2003 16:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

How big are the projects that are timed out? For very large projects it
takes a long time for gdb to load the symbol information. In this case you
need to insrease the timeout value.

"Andrew McKinlay" <mckinlay@suneido.com> wrote in message
news:bptm06$8ng$1@eclipse.org...
> Unfortunately, I have 5.2.1 as per requirements, and I still have the
> problem.
>
> andrew
>
> Ra
Re: Debugger does not work [message #87361 is a reply to message #87346] Mon, 24 November 2003 18:33 Go to previous messageGo to next message
Eclipse UserFriend
I don't think that's it - this is a very small ~50 line test program. If
I start gdb on it manually it loads almost instantly.

Mikhail Khodjaiants wrote:
> How big are the projects that are timed out? For very large projects it
> takes a long time for gdb to load the symbol information. In this case you
> need to insrease the timeout value.
>
> "Andrew McKinlay" <mckinlay@suneido.com> wrote in message
> news:bptm06$8ng$1@eclipse.org...
>
>>Unfortunately, I have 5.2.1 as per requirements, and I still have the
>>problem.
>>
>>andrew
>>
>>Raúl Remedios wrote:
>>
>>>Thank you,
>>>
>>>I have instaled gdb 5.3, and the problem is solved.
>>>
>>>Raúl.
>>>
>>>Henning Riedel wrote:
>>>
>>>
>>>
>>>>Wasn't there a requirement of gdb 5.2.1 and higher?
>>>
>>>
>>>>Raúl Remedios schrieb:
>>>>
>>>>
>>>>>Andrew McKinlay wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Andrew McKinlay wrote:
>>>>>
>>>>>
>>>>>>>>>Building und running C/C++ projects works fine, (make, gcc and g++
>>>>>>>>>are ok)
>>>>>>>>>but I am not able to debug my application.
>>>>>>>>>When starting debuggung I receive the error message:
>>>>>>>>>
>>>>>>>>>Exception occoured during launch
>>>>>>>>>Failed launching CDI Debugger: Error creating session: Target is
>
> not
>
>>>>>>>>>responding (timed out)
>>>>>>>>
>>>>>>>>
>>>>>>>>I solved the problem myself -> my installation of w2k is currupt. On
>
> a
>
>>>>>>>>different computer gdb worked without causing troubles.
>>>>>>>
>>>>>>>
>>>>>>>I'm getting the same error, on two different Windows XP machines, one
>
> of
>
>>>>>>>which is a clean install as of a week ago. So I don't think the
>
> problem
>
>>>>>>>is the operating system. However, I only get it on some projects. If
>
> I
>
>>>>>>>make a simple hello world project as in the tutorial, the debugger
>
> works
>
>>>>>>>fine.
>>>>>>>
>>>>>>>I'm new to CDT, any suggestions of where to look in terms of logs or
>>>>>>>traces or settings? I assume since it works on some projects, the
>
> basic
>
>>>>>>>setup is okay.
>>>>>>>
>>>>>>>Andrew McKinlay
>>>>>>>http://www.suneido.com
>>>>>>>
>>>>>>
>>>>>>After that last message, I guess I'd better provide more info!
>>>>>
>>>>>
>>>>>>OS: Windows XP
>>>>>>Eclipse Version: 2.1.2 (updated from 2.1.1 via update site)
>>>>>>Eclipse Path: c:/eclipse
>>>>>>CDT Version: 1.2.0 (installed from update site)
>>>>>>MinGW Version: 3.1.0 (GDB 5.2.1)
>>>>>>MinGW Path: c:/mingw310
>>>>>>Project Path: c:/dev/interp
>>>>>
>>>>>
>>>>>>I've also tried creating the same project under c:/eclipse, but same
>>>>>>results. I can debug it from the command line with gdb.
>>>>>
>>>>>
>>>>>>andrew
>>>>>
>>>>>
>>>>>I have same problem, but can't debug any programs, included HelloWorld.
>>>>>
>>>>>My installation detalis are:
>>>>>
>>>>>OS: SunOS 5.8
>>>>>Eclipse Version: 2.1.2 (updated from 2.1.1 via update site)
>>>>>Eclipse Path: ~/eclipse
>>>>>CDT Version: 1.2.0 (installed from update site)
>>>>>GNU Versions: gcc 3.3, gdb 5.0 y make 3.80
>>>>>
>>>>>Thanks.
>>>>>
>>>>>Raúl
Re: Debugger does not work [message #98102 is a reply to message #87361] Mon, 29 March 2004 15:39 Go to previous message
Eclipse UserFriend
Originally posted by: juergen.berchtel.students.fh-vorarlberg.ac.at

I have also the same problem with C++ development.
But I can debug a C program without a problem.


WinXP
Eclipse Version: 2.1.3
CDT Version: 1.2.1
MinGW Version: 3.1.0 (GDB 5.2.1)



"Andrew McKinlay" <mckinlay@suneido.com> schrieb im Newsbeitrag
news:bpu4c4$pha$1@eclipse.org...
> I don't think that's it - this is a very small ~50 line test program. If
> I start gdb on it manually it loads almost instantly.
>
> Mikhail Khodjaiants wrote:
> > How big are the projects that are timed out? For very large projects it
> > takes a long time for gdb to load the symbol information. In this case
you
> > need to insrease the timeout value.
> >
> > "Andrew McKinlay" <mckinlay@suneido.com> wrote in message
> > news:bptm06$8ng$1@eclipse.org...
> >
> >>Unfortunately, I have 5.2.1 as per requirements, and I still have the
> >>problem.
> >>
> >>andrew
> >>
> >>Ra
Previous Topic:CDT 2.0M7 isn't working with M8
Next Topic:CDT2.0 M8
Goto Forum:
  


Current Time: Thu May 08 16:14:01 EDT 2025

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

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

Back to the top