Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: cbexaminr on October 25, 2010, 05:13:14 pm

Title: debugging initial program directory
Post by: cbexaminr on October 25, 2010, 05:13:14 pm
Is there a direct way to specify a directory to be used as the "current working directory" for the debuggee target on its startup?

Any indirect way?
Title: Re: debugging initial program directory
Post by: oBFusCATed on October 25, 2010, 06:35:57 pm
Project -> Properties -> Build targets -> Working dir, should do the job.
Title: Re: debugging initial program directory
Post by: cbexaminr on October 25, 2010, 07:35:25 pm
I see it now. (looked there before, but missed it - mine is labeled 'Execution working dir', for the record.)  Haven't tried it, but looks hopeful.

Thanks.
Title: Re: debugging initial program directory
Post by: oBFusCATed on October 25, 2010, 10:09:12 pm
Yes, that's it :)