Summary: | Environment set in "Run Options" is ignored when launching debugger | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Alexandros Karypidis <karypid> |
Component: | CPP Debugger | Assignee: | KDevelop-Devel List <kdevelop-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mcguire |
Priority: | NOR | ||
Version: | 3.0.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Alexandros Karypidis
2002-11-07 15:57:03 UTC
Solved in Kdevelop3.0 A4 Reopening... I tried with KDevelop 3.4, and it seems not to work. I guess this is because KDevelop now uses the MI interface. And closing again, it works fine for me here, else I wouldn't be able to debug KDevelop4. And I do know that the code does set the environment, because I changed it to do so. You set your arguments in: Project -> Project Options -> Run Options -> Debug arguments ? Or are you talking about: Project -> Project Options -> Run Options -> Environment Variables ? Maybe you should update to KDevelop 3.4 from SVN ? Strange, I get the following error when trying to debug KMail: >Configuration file "$HOME/.kde4/share/config/kmailrc" not writable. This indicates that $HOME is NOT correctly expanded. Soon afterwards KMail crashes, which it does not when expanding the variables myself in the Run options. I currently can not compile the SVN version because of errors, so I use the 3.4 version. I set the environment variables in Project -> Project Options -> Run Options -> Environment Variables In the debugger window, I get the following: >(gdb) set environment KDEHOME=$HOME/.kde4 >set environment KDEHOME=$HOME/.kde4 >^done But still, they seem not to be expanded. Sorry, this was actually a different issue, see my newly created bug 143589. |