Skip to main content

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

So, I'm using the GDBServer and I need send a command to remote system.
My idea is set the debugger in Launch configuration as a script that send the command to remote system and then call the gdb.
I thought in use a environment variable that is easy to change in Launch Configuration. There are another method to do this ?

Thanks,
Marcio Moreno

On Mon, Apr 21, 2008 at 1:21 PM, Schaefer, Doug <Doug.Schaefer@xxxxxxxxxxxxx> wrote:
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
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top