Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Set debug working directory relative path(Set debug working directory relative path)
Set debug working directory relative path [message #1737502] Fri, 08 July 2016 19:27 Go to next message
Amish Rughoonundon is currently offline Amish RughoonundonFriend
Messages: 9
Registered: July 2016
Junior Member
Hi,
I am trying to figure out how to set up a relative path for the working directory when launching debug for my code. I am using eclipse Neon (4.6) with PyDev

workspace is c:\eclipseWorkspacePython
project is c:\perforce\project\eclipseProject
src file is in c:\perforce\project\ imported as a link
When I start my debugger, I want to set the working directory relative to the project folder
I have tried something like ${project_loc:/../} but eclipse tells me project_loc does not exist.
Anybody knows what needs to be done?
Thanks,
Amish
Re: Set debug working directory relative path [message #1737513 is a reply to message #1737502] Fri, 08 July 2016 21:07 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30314
Registered: July 2009
Senior Member
It should be ${project_loc:/<name-of-some-project} instead. The argument
in this case should be a workspace relative path. Use the variable
wizard/dialog to complete the arguments. Any addition path relative to
that should be outside the {}, e.g.,
${project_loc:/<name-of-some-project}/..


On 08.07.2016 22:32, Amish Rughoonundon wrote:
> Hi,
> I am trying to figure out how to set up a relative path for the
> working directory when launching debug for my code. I am using eclipse
> Neon (4.6) with PyDev
>
> workspace is c:\eclipseWorkspacePython
> project is c:\perforce\project\eclipseProject
> src file is in c:\perforce\project\ imported as a link
> When I start my debugger, I want to set the working directory relative
> to the project folder
> I have tried something like ${project_loc:/../} but eclipse tells me
> project_loc does not exist.
> Anybody knows what needs to be done?
> Thanks,
> Amish
Re: Set debug working directory relative path [message #1737851 is a reply to message #1737513] Wed, 13 July 2016 13:54 Go to previous message
Amish Rughoonundon is currently offline Amish RughoonundonFriend
Messages: 9
Registered: July 2016
Junior Member
Hi,
thanks for the answer. The project name is what was missing,
Amish
Previous Topic:How to get eclipse base plugins jar
Next Topic:Documentation for eclipse command options
Goto Forum:
  


Current Time: Mon Jul 22 20:55:20 GMT 2019

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

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

Back to the top