User forums > Using Code::Blocks

debugging initial program directory

(1/1)

cbexaminr:
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?

oBFusCATed:
Project -> Properties -> Build targets -> Working dir, should do the job.

cbexaminr:
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.

oBFusCATed:
Yes, that's it :)

Navigation

[0] Message Index

Go to full version