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

I would do both
I like Hints idea but it needs to be thought through... Maybe added to eclipse base
There is Ctrl-Shift-L now which is kinda hints too...


On Mon, Dec 1, 2014 at 11:28 AM, Marc Khouzam <marc.khouzam@xxxxxxxxxxxx> wrote:

It is not ideal, but I agree it is probably better than no user knowing they can do that.

 

Or we could look into using a single context-menu called “Hints” or something and

use that to provide information our users.  We could do that for every view in CDT

as a way to help document things.

 

What do you think?

 

From: laskava@xxxxxxxxx [mailto:laskava@xxxxxxxxx] On Behalf Of Alena Laskavaia
Sent: Monday, December 01, 2014 11:26 AM


To: Marc Khouzam
Cc: CDT General developers list.
Subject: Re: [cdt-dev] Globals in Variables view

 

Can we add stuff to context menu of expressions view? Something like

"Add local variables group", "Add registers group"

 

On Mon, Dec 1, 2014 at 10:49 AM, Marc Khouzam <marc.khouzam@xxxxxxxxxxxx> wrote:

 

CDT 8.2, 2 years ago.

I always knew this feature needed more publicity but I don’t know how to go about it.

I would like to see something directly in Eclipse to tell they user “Hey, did you know you can do this?”

 

From: laskava@xxxxxxxxx [mailto:laskava@xxxxxxxxx] On Behalf Of Alena Laskavaia
Sent: Monday, December 01, 2014 10:42 AM


To: Marc Khouzam
Cc: CDT General developers list.
Subject: Re: [cdt-dev] Globals in Variables view

 

That is neat! When this was added?

 

On Mon, Dec 1, 2014 at 10:37 AM, Marc Khouzam <marc.khouzam@xxxxxxxxxxxx> wrote:

I personally don’t oppose the duplication.

 

Be aware that if the user does not mind typing the global variables by hand, which will then avoid performance issues, they can see everything in the expressions view by creating one _expression_ called ‘*’ (no quotes) to show all local vars.  Then the expressions view will show all locals (sorted!) and whatever globals they want to see.  They can even automatically show all registers using ‘$*’.

 

Please see info about “Enhanced Expressions”:

https://wiki.eclipse.org/CDT/User/FAQ#What_are_Enhanced_Expressions.3F

 

 

From: laskava@xxxxxxxxx [mailto:laskava@xxxxxxxxx] On Behalf Of Alena Laskavaia
Sent: Monday, December 01, 2014 10:34 AM
To: Marc Khouzam
Cc: CDT General developers list.
Subject: Re: [cdt-dev] Globals in Variables view

 

I looked at the bug, there are two concerns there - usability (duplication of info from Expressions view) and performance.

Performance - I am not sure why it would be concern, if users add this global in _expression_ view it would be the same. And extra query per variable.

For initial getting vars list - yes it can be slow/hard to mark (if we just take CDI ui) but better then no ui at all.

As for concern about duplication, I think current eclipse approach to have two views is not good for user - they want to watch some variables in one spot,

how these variables populate automatically or user adds them should not be relevant for this use case

 

On Mon, Dec 1, 2014 at 10:23 AM, Marc Khouzam <marc.khouzam@xxxxxxxxxxxx> wrote:

Should not use https for those addresses apparently:

See http://eclip.se/219040 for info.

 

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc Khouzam
Sent: Monday, December 01, 2014 10:20 AM
To: 'elaskavaia.cdt@xxxxxxxxx'; 'CDT General developers list.'
Subject: Re: [cdt-dev] Globals in Variables view

 

Yeah, this is one of the points that keeps coming up.

See https://eclip.se/219040 for info.

Feel free to continue the discussion.

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Alena Laskavaia
Sent: Monday, December 01, 2014 9:51 AM
To: CDT General developers list.
Subject: [cdt-dev] Globals in Variables view

 

After we switched to DSF our customers continuously complain that they cannot

add global variables into that view anymore. If there a specific reason why it is not supported
in DSF gdb? Generic complain that they don't want two views to deal with Variables and _expression_, they want all stuff in one view.

 

 

 



Back to the top