Can't debug with CDT [message #87499] |
Thu, 27 November 2003 00:04  |
Eclipse User |
|
|
|
Originally posted by: mdubuc.ca.ibm.com
I have installed eclipse 3.0M5 and CDT 2.0M5RC1. I have Cygwin installed
on my machine. The cygwin distribution is fairly new (September 2003). I
am running eclipse/CDT on Windows XP.
I have been able to compile a simple Hello World application. I can run
it. I would like to debug it now. When I launch debug, I get two suspended
threads and a command window that doesn't show up anything. Nothing is
happening at this point. If I do Run/Resume, I get an error message:
Resume failed.
Reason:
Exceptions occured attempting to resume.
Details: Target request failed: Target is not responding (timed out)
Have I missed a configuration?
Martin
|
|
|
|
|
|
|
|
|
|
Re: Can't debug with CDT [message #93308 is a reply to message #87599] |
Tue, 03 February 2004 09:38  |
Eclipse User |
|
|
|
Originally posted by: cheukht.hk.ibm.com
Martin,
I got the same error and could not debug at the very first time when
switched to 3.0M6. But the problem has been solved now, for me, the root
cause is I have choosen the release build to debug. After I delete the
existing debug configuration and re-create again, I found that when I
pressed the [search...] button (next to C/C++ Application text box), there
are two builds, one is release build and the another is debug, you can tell
by it's icon which is which. I remember there is only release build the
first time I create the debug configuration, that's why I've choosen the
release build for debug. But this time I try the build with a debug icon and
tried again, it works now!
--
Thomas Cheuk
Advisory I/T Specialist
Software Group, IBM Hong Kong
"Martin Dubuc" <mdubuc@ca.ibm.com> wrote in message
news:bq63o9$hfn$1@eclipse.org...
> I have verified if gdb was running. It is running along with the
> application. There are error messages on the console though:
>
> info threads
> No registers.
> info program
> Using the running image of child thread 3424.0xd8c.
> Program stopped at 0x4010be.
> It stopped at a breakpoint that has since been deleted.
> Type "info stack" or "info registers" for more information.
> info threads
> 2 thread 3424.0x30c * 1 thread 3424.0xd8c
>
> This seem to be the cause of my problem, but I can't figure out what it
> means.
>
> Martin
>
> Mikhail Khodjaiants wrote:
>
> > Looks like gdb is not responding. Check if it is running at the time
when
> > you are trying to resume.
>
> > "Martin Dubuc" <mdubuc@ca.ibm.com> wrote in message
> > news:bq40lm$4ca$1@eclipse.org...
> > > I have installed eclipse 3.0M5 and CDT 2.0M5RC1. I have Cygwin
installed
> > > on my machine. The cygwin distribution is fairly new (September 2003).
I
> > > am running eclipse/CDT on Windows XP.
> > >
> > > I have been able to compile a simple Hello World application. I can
run
> > > it. I would like to debug it now. When I launch debug, I get two
suspended
> > > threads and a command window that doesn't show up anything. Nothing is
> > > happening at this point. If I do Run/Resume, I get an error message:
> > > Resume failed.
> > > Reason:
> > > Exceptions occured attempting to resume.
> > > Details: Target request failed: Target is not responding (timed out)
> > >
> > > Have I missed a configuration?
> > >
> > > Martin
> > >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03922 seconds