Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] globals in variables view

Pawel, we recently implemented the referenced globals in variables feature and we were planning on contributing it to CDT. It's important to us. Our compilers emit custom dwarf information that lets us know what globals a function references. Our users want to automatically have those items added to the variables view--as CDT global variables.

2) Having to rely on the expressions view is cumbersome, and doesn't feel natural. It's called the Variables view, not the Local Variables view. Globals belong in there as much as locals do.

3) Yes; and that's exactly how it works for us. Again, we'll contribute this soon. It's based on CDI, so not much use to you.


At 07:28 PM 2/14/2008, Pawel Piech wrote:
Hi All,
I am considering a bug in DSF which asks for showing global variables in the variables view (bug 219040).  I am somewhat conflicted by this feature, because in our (Wind River's) product and in others that I've worked with, the Expressions/Watch window is the window used to display global variables, where Variables/Locals view is used for showing arguments and locals.

So I have three questions:

1) How important is it to have globals in the variables view.

2) Is the problem with showing globals in the Expressions view that it does not have the same features as the variables view (column support, change highlighting, etc?).

3) Is what's really missing a "smart" combined variables view which could show local variables, selected global variables, as well as "watched" local variables which are enabled only a given local variable is in scope?

cdt-dev mailing list

Back to the top