Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT2.0M9: Cannot launch CDI debugger
CDT2.0M9: Cannot launch CDI debugger [message #104304] Wed, 02 June 2004 07:20 Go to next message
Eclipse UserFriend
Originally posted by: holger.casties.siemens.com

Hi,
I am using CDT2.0M9 with Eclipse3.0M9 under Windows 2000 (with Cygwin).

The following trace appears when starting the debugger:
Failed Launching CDI Debugger
org.eclipse.cdt.debug.core.cdi.CDIException: Unable to set working
directory: mi_cmd_env_cd: Usage DIRECTORY
org.eclipse.cdt.debug.mi.core.cdi.RuntimeOptions.setWorkingD irectory(RuntimeOptions.java:101)
org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDel egate.launch(LocalCLaunchConfigurationDelegate.java:94)
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:569)
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:150)
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:796)
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:959)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Unable to set working directory: mi_cmd_env_cd: Usage DIRECTORY
org.eclipse.cdt.debug.core.cdi.CDIException: Unable to set working
directory: mi_cmd_env_cd: Usage DIRECTORY
org.eclipse.cdt.debug.mi.core.cdi.RuntimeOptions.setWorkingD irectory(RuntimeOptions.java:101)
org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDel egate.launch(LocalCLaunchConfigurationDelegate.java:94)
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:569)
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:150)
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:796)
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:959)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

What am I doing wrong?
Is there a special configuration necessary for the used GDB?
(-> Unable to set working directory: mi_cmd_env_cd: Usage DIRECTORY)

Best regards
Holger
Re: CDT2.0M9: Cannot launch CDI debugger [message #104342 is a reply to message #104304] Wed, 02 June 2004 07:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailkhod.rogers.com

Check if the path or file name of your executable contains space characters.
This is a bug in CDT.

"Holger Casties" <holger.casties@siemens.com> wrote in message
news:c9kd62$iqs$1@eclipse.org...
> Hi,
> I am using CDT2.0M9 with Eclipse3.0M9 under Windows 2000 (with Cygwin).
>
> The following trace appears when starting the debugger:
> Failed Launching CDI Debugger
> org.eclipse.cdt.debug.core.cdi.CDIException: Unable to set working
> directory: mi_cmd_env_cd: Usage DIRECTORY
>
org.eclipse.cdt.debug.mi.core.cdi.RuntimeOptions.setWorkingD irectory(Runtime
Options.java:101)
>
org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDel egate.launch(Loc
alCLaunchConfigurationDelegate.java:94)
>
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
on.java:569)
>
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
on.java:150)
>
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.jav
a:796)
> org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:959)
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
> Unable to set working directory: mi_cmd_env_cd: Usage DIRECTORY
> org.eclipse.cdt.debug.core.cdi.CDIException: Unable to set working
> directory: mi_cmd_env_cd: Usage DIRECTORY
>
org.eclipse.cdt.debug.mi.core.cdi.RuntimeOptions.setWorkingD irectory(Runtime
Options.java:101)
>
org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDel egate.launch(Loc
alCLaunchConfigurationDelegate.java:94)
>
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
on.java:569)
>
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
on.java:150)
>
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.jav
a:796)
> org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:959)
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
>
> What am I doing wrong?
> Is there a special configuration necessary for the used GDB?
> (-> Unable to set working directory: mi_cmd_env_cd: Usage DIRECTORY)
>
> Best regards
> Holger
>
>
Re: CDT2.0M9: Cannot launch CDI debugger [message #104496 is a reply to message #104342] Thu, 03 June 2004 04:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: holger.casties.siemens.com

Mikhail Khodjaiants wrote:

> Check if the path or file name of your executable contains space characters.
> This is a bug in CDT.

> "Holger Casties" <holger.casties@siemens.com> wrote in message
> news:c9kd62$iqs$1@eclipse.org...
> > Hi,
> > I am using CDT2.0M9 with Eclipse3.0M9 under Windows 2000 (with Cygwin).
> >
> > The following trace appears when starting the debugger:
> > Failed Launching CDI Debugger
> > org.eclipse.cdt.debug.core.cdi.CDIException: Unable to set working
> > directory: mi_cmd_env_cd: Usage DIRECTORY
> >
> org.eclipse.cdt.debug.mi.core.cdi.RuntimeOptions.setWorkingD irectory(Runtime
> Options.java:101)
> >
> org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDel egate.launch(Loc
> alCLaunchConfigurationDelegate.java:94)
> >
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
> on.java:569)
> >
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
> on.java:150)
> >
> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.jav
> a:796)
> > org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:959)
> > org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
> > Unable to set working directory: mi_cmd_env_cd: Usage DIRECTORY
> > org.eclipse.cdt.debug.core.cdi.CDIException: Unable to set working
> > directory: mi_cmd_env_cd: Usage DIRECTORY
> >
> ...

Hi Mikhail,

thanks a lot, CDT2.0M9 is now running with CDI debugger.
(The problem was a space in the path 'D:\Program Files\Eclipse\...'!)

Does CDT2.0M9 run with Eclipse3.0RC1?


Holger
Re: CDT2.0M9: Cannot launch CDI debugger [message #104557 is a reply to message #104496] Thu, 03 June 2004 10:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailkhod.rogers.com

We haven't tested it, but I am using RC1 with CDT and it seems to work fine.

"Holger Casties" <holger.casties@siemens.com> wrote in message
news:c9mmm9$g8m$1@eclipse.org...
> Mikhail Khodjaiants wrote:
>
> > Check if the path or file name of your executable contains space
characters.
> > This is a bug in CDT.
>
> > "Holger Casties" <holger.casties@siemens.com> wrote in message
> > news:c9kd62$iqs$1@eclipse.org...
> > > Hi,
> > > I am using CDT2.0M9 with Eclipse3.0M9 under Windows 2000 (with
Cygwin).
> > >
> > > The following trace appears when starting the debugger:
> > > Failed Launching CDI Debugger
> > > org.eclipse.cdt.debug.core.cdi.CDIException: Unable to set working
> > > directory: mi_cmd_env_cd: Usage DIRECTORY
> > >
> >
org.eclipse.cdt.debug.mi.core.cdi.RuntimeOptions.setWorkingD irectory(Runtime
> > Options.java:101)
> > >
> >
org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDel egate.launch(Loc
> > alCLaunchConfigurationDelegate.java:94)
> > >
> >
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
> > on.java:569)
> > >
> >
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
> > on.java:150)
> > >
> >
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.jav
> > a:796)
> > >
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:959)
> > > org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
> > > Unable to set working directory: mi_cmd_env_cd: Usage DIRECTORY
> > > org.eclipse.cdt.debug.core.cdi.CDIException: Unable to set working
> > > directory: mi_cmd_env_cd: Usage DIRECTORY
> > >
> > ...
>
> Hi Mikhail,
>
> thanks a lot, CDT2.0M9 is now running with CDI debugger.
> (The problem was a space in the path 'D:\Program Files\Eclipse\...'!)
>
> Does CDT2.0M9 run with Eclipse3.0RC1?
>
>
> Holger
>
>
>
Re: CDT2.0M9: Cannot launch CDI debugger [message #768984 is a reply to message #104342] Wed, 21 December 2011 02:41 Go to previous message
Eclipse UserFriend
Thank you very much for this posting - I was pulling my hair out, but this saved me from going completely bald! Very Happy
Previous Topic:build project outside Eclipse
Next Topic:Static Library
Goto Forum:
  


Current Time: Thu Jul 17 04:59:55 EDT 2025

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

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

Back to the top