Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Environment Variable

This also depends on what debugger you are using. The variables in the
Environment tab are not actually set in the environment where the
debugger is launched. With gdb, we send a set environment command which
sets the environment for the inferior.

I didn't appreciate that behavior when I ran into it since I wanted to
set the PATH for the debugger but I found a workaround and was afraid of
breaking anything.

Cheers,
Doug.

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Elena Laskavaia
Sent: Monday, April 21, 2008 12:13 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Environment Variable

Do you use Environment tab of the Launch configuration?

Marcio Moreno wrote:
> Hello All,
>
>   I'm trying to set a environment variable when I'm debugging a 
> application, but all variables that I put in Environment haven't being

> set. There are an issue in this case ?
>
> Thanks.
> Marcio Moreno
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top