Community
Participate
Working Groups
Build Identifier: 201005141101 Happens if the working directory in the launch configuration is set to a directory different from the default. When trying to debug the project the following error appears: Error in final launch sequence. org.eclipse.core.runtime.CoreException: TCF error report: Command: Processes start "${workspace_loc:Foo/run}", "C:\\projects\\Foo... Time: 2010-05-14 23:33:00.171 Error text: Unknown error Error code: 1 Alt code: 267 Alt org: POSIX TCF error report: Command: Processes start "${workspace_loc:Foo/run}", "C:\\projects\\Foo... Time: 2010-05-14 23:33:00.171 Error text: Unknown error Error code: 1 Alt code: 267 Alt org: POSIX TCF error report: Command: Processes start "${workspace_loc:Foo/run}", "C:\\projects\\Foo... Time: 2010-05-14 23:33:00.171 Error text: Unknown error Error code: 1 Alt code: 267 Alt org: POSIX Reproducible: Always
Looks like the expression (e.g. "${workspace_loc:BotClient/run}") is not correctly evaluated, because the if you put in an absolute path without any expressions it works well.
Yep, it wasn't expanding workspace variables. Thanks for catching this.
Created attachment 170098 [details] fix
*** cdt cvs genie on behalf of kryall *** Bug 312983 - EDC can't launch if working directory is not the default one [*] LaunchUtils.java 1.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/edc/org.eclipse.cdt.debug.edc/src/org/eclipse/cdt/debug/edc/launch/LaunchUtils.java?root=Tools_Project&r1=1.2&r2=1.3 [*] AbstractFinalLaunchSequence.java 1.22 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/edc/org.eclipse.cdt.debug.edc/src/org/eclipse/cdt/debug/edc/launch/AbstractFinalLaunchSequence.java?root=Tools_Project&r1=1.21&r2=1.22