Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Cannot add Global variables in DSF debug session

"Would be nice if you same UI/model for CDI and DSF and allow user to
add customer global vars, because current way of doing it in CDI missing
some and cannot get globals from shared libraries for example..."

Agree. Globals are currently retrieved from the executable using the
associated binary parser. It should be acquired from gdb, but as with
the source lookup performance will be the problem. 
Anyway, for now I'll try to make "Add Globals" visible for CDI only.

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Elena Laskavaia
Sent: Thursday, April 30, 2009 3:16 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Cannot add Global variables in DSF debug session

I was telling the customers too to use expression view too, but
apparently it is not this useful.
I was debbuging C code myself and switching between expressions and
variable is painful.
If I have both of them open it is overhead on debugger that would
re-evaluate all expression.
Plus this two views have different set of action. Some stuff you cannot
do with expressions view, such as change value, cast and change
format...


Marc Khouzam wrote:
>  
> Hi,
>  
>> Hi All
>> While debugging an  application using  GDB DSF CreateProcess Launcher

>> I noticed that  "add global variables" action in variables view is 
>> disabled .
> 
> DSF-GDB does not support displaying global variables in the variables 
> view (yet?). See https://bugs.eclipse.org/bugs/show_bug.cgi?id=219040
> 
> You can use the expressions view to show the global variables you are 
> interested in.
> 
> Marc
> _______________________________________________
> 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
-- 
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.


Back to the top