[Bug 50345] New: Environment set in "Run Options" is ignored when launching debugger

Alexandros Karypidis karypid at inf.uth.gr
Thu Nov 7 15:58:05 UTC 2002

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: Environment set in "Run Options" is ignored when
                    launching debugger
           Product: kdevelop
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at barney.cs.uni-potsdam.de
        ReportedBy: karypid at inf.uth.gr

Version:           3.0.0 (using KDE KDE 3.0.8)
Installed from:    SuSE RPMs
Compiler:          N/A N/A
OS:          Linux

In Gideon's project options, you may specify:
	1. which is the "main executable"
	2. what environment variables are needed
under "Run options".

While the first hold for the debugger as well, the latter does not.

I came across this when doing a rather complex setup with sub-projects to test the "Automake manager". In order to run the "main executable" I need to set an appropriate LD_LIBRARY_PATH. This works ok when I run the program, but I can't debug it because when Gideon starts the debugger it does not set the environment variables I defined in "Run options".

More information about the KDevelop-devel mailing list