[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 143589] New: Debugger does not expand environment variables
From:       Thomas McGuire <Thomas.McGuire () gmx ! net>
Date:       2007-03-29 13:28:39
Message-ID: 20070329152839.143589.Thomas.McGuire () gmx ! net
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=143589         
           Summary: Debugger does not expand environment variables (dollars)
           Product: kdevelop
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: CPP Debugger
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: Thomas.McGuire gmx net


Version:           3.4 (using KDE KDE 3.5.6)
Installed from:    Ubuntu Packages
OS:                Linux

When setting some environment variables in Project->Project Options->Run \
Options->Environment Variables and these variables contain other variables with a \
dollar in them (like $HOME/.kde4), the debugger does not correctly expand these \
dollar variables to their substitutes. 

In the debugger window, I get the following:
> (gdb) set environment KDEHOME=$HOME/.kde4
> set environment KDEHOME=$HOME/.kde4
> ^done

Instead, it should automatically expand $HOME so this becomes:

> (gdb) set environment KDEHOME=/home/kde-devel/.kde4
> set environment KDEHOME=/home/kde-devel/.kde4
> ^done

Note that this works fine for running programs with Build->Execute Program.
It should work in both cases.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic