Registered Member
|
Hello all,
first of all, kdevelop is really awesome, as it's basically only linking together standard tools and goes out of the way, if it can integrate something else. I set up a basic SFML, CMake + C++ project and everything works fine so far. Only if I try to debug my program via the "Debug"-button, it fails to set the working directory I specified in the launch settings. It works, if I start it via the normal launch button. So my question is, did I miss something, or is it a bug in Kdevelop or intended behavior? When activating debug messages of kdevelop and starting it via commandline I notice:
So, what did go wrong, and how can I fix it? Additional information: I'm currently using OpenSUSE 13.1 and Kdevelop 4.7.0, although I experienced the same problem with 4.6.x, also gdb is 7.6.50.20130731-cvs Thanks for helping me out! Nicolas |
Global Moderator
|
Could you try with a path without spaces in it? Maybe that's why it fails.
Greetings!
I'm working on the KDevelop IDE.
|
Registered Member
|
That was it, a thousand thanks! Still that doesn't seem to be intended behavior, should I write a bug report? ( never did such a thing before ) Nicolas |
Global Moderator
|
That'd be nice -- the bug is that KDevelop uses single quotes instead of double quotes to escape the path. gdb needs double quotes. You can report it on bugs.kde.org if you like and also mark it as "junior job" (prefix bug title with "JJ:"), it'll certainly be easy to fix.
I'm working on the KDevelop IDE.
|
Registered Member
|
Bug #339231
Finished, and as reference: Temporary workaround: Setting build directory to a path that doesn't contain spaces (and optionally working directory in Launch configuration, if it is set manually, to the same path), fixes setting of working directory. Now back to work, hehe! Nicolas |
Global Moderator
|
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]