Code::Blocks Forums
User forums => Help => Topic started by: samtheeagle on May 12, 2005, 06:58:32 pm
-
Hi,
I'm trying to debug a DLL, and so I've setup a host application in the projects execution parameters. When I start debugging (I'm using GDB 6.3) the exe I specified starts up ok, but it doesn't work properly as it's working directory is not being set. Basically the exe I startup can't find the files it needs, I'm guessing that it's because the process has inherited it's working directory from Codeblocks?
For your information the DLL I'm trying to debug is:
C:\Orbiter\Orbitersdk\samples\ShuttlePB\Debug\ShuttlePB.dll
And the host application exe is set to:
C:\Orbiter\orbiter.exe
Can anyone tell me how I can specify the working directory for the debug session?
Cheers in advance.
-
The "working directory" target option in project properties doesn't work?
Yiannis.
-
I'm afraid not. For whatever reason it is disabled. It only seems to be enabled when the build target is GUI EXE or Console EXE. As I wish to build to a DLL I am unable to set the property :(
Any ideas?
-
Any ideas?
Yes. Submit a detailed bug-report and it might just make it into the next release (planned for this weekend).
Yiannis.
-
Cheers, I've raised a bug report...
http://sourceforge.net/tracker/index.php?func=detail&atid=707416&aid=1201182&group_id=126998
Thanks for your help! :)