[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[eclipse-dev] Re: GDB is not working with Eclipse 3.1 with CDT 2.0
|
Hi,
I am using Eclipse 3.0 with SUSE Linux. I am CDT 2.0 for c/c++
developement in Eclipse. Everything working fine for C/C++ using
Eclipse, but GDB is not working. When i am trying to lunch GDB , it
giving me some kind of error.I have listed all errors bellow here.
------------------------------------------------------------------------------
!ENTRY org.eclipse.cdt.launch 4 150 Nov 27, 2004 14:57:23.532
!MESSAGE Failed Launching CDI Debugger
!STACK 0
org.eclipse.cdt.debug.core.cdi.CDIException: Unable to set working
directory: mi_cmd_env_cd: Usage DIRECTORY
at org.eclipse.cdt.debug.mi.core.cdi.RuntimeOptions.setWorkingDirectory(RuntimeOptions.java:106)
at org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDelegate.launch(LocalCLaunchConfigurationDelegate.java:95)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:788)
at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
!SUBENTRY 1 org.eclipse.cdt.launch 4 150 Nov 27, 2004 14:57:23.532
!MESSAGE Unable to set working directory: mi_cmd_env_cd: Usage DIRECTORY
!STACK 0
org.eclipse.cdt.debug.core.cdi.CDIException: Unable to set working
directory: mi_cmd_env_cd: Usage DIRECTORY
at org.eclipse.cdt.debug.mi.core.cdi.RuntimeOptions.setWorkingDirectory(RuntimeOptions.java:106)
at org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDelegate.launch(LocalCLaunchConfigurationDelegate.java:95)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:788)
at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
----------------------------------------------------------
Failed Launching CDI Debugger
So how to solve this problem?
Thanks,
Rohit