[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.cdt] Re: Eclipse CDT

From what I can tell from your description, your target is not responding, or at least timed out.

BTW, CDT 4.0 isn't likely to work with Eclipse 3.2.1

Joey Wang wrote:
I got an error when try to debug a C++ project in Eclipse.

gdb Debugger report an error as :Error stopping at main."
Reason: Target request failed: Target is not responding ( time out ).

My Eclipse version is 3.2.1 Build id:M20060921-0945
CDT version is : 4.0.0
GDB version is GNU gdb 6.3-mec-3.

Thanks.

************************************************

The followings are Session data and exception Stack Data from the error log.

Session Data:
eclipse.buildId=M20060921-0945
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -data /home/zwang/pbs/workspace2 -os linux -ws gtk -arch x86


Exception Stack Data:
org.eclipse.cdt.debug.mi.core.cdi.MI2CDIException: Target is not responding (timed out)[]
at org.eclipse.cdt.debug.mi.core.cdi.RegisterManager.getRegisterDescriptors(RegisterManager.java:193)


at org.eclipse.cdt.debug.mi.core.cdi.RegisterManager.getRegisterDescriptors(RegisterManager.java:171)

at org.eclipse.cdt.debug.mi.core.cdi.model.RegisterGroup.getRegisterDescriptors(RegisterGroup.java:42)

at org.eclipse.cdt.debug.internal.core.CRegisterManager.initialize(CRegisterManager.java:127)

at org.eclipse.cdt.debug.internal.core.model.CDebugTarget.initializeRegisters(CDebugTarget.java:339)

at org.eclipse.cdt.debug.internal.core.model.CDebugTarget.initialize(CDebugTarget.java:262)

at org.eclipse.cdt.debug.internal.core.model.CDebugTarget.<init>(CDebugTarget.java:250)

at org.eclipse.cdt.debug.core.CDIDebugModel$1.run(CDIDebugModel.java:91)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719)
at org.eclipse.cdt.debug.core.CDIDebugModel.newDebugTarget(CDIDebugModel.java:96)


at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launchLocalDebugSession(LocalCDILaunchDelegate.java:155)

at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launchDebugger(LocalCDILaunchDelegate.java:105)

at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launch(LocalCDILaunchDelegate.java:65)

at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:639)

at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:565)

at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:754)

at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:944)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)