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

Marc do you know how to get Dsf session without selection? For example from the view itself? Or there is some context?
I checked Add Register Group command and it only works if you have selection (even it seems like
this command should not be selection dependent). I need to add command that work without selection (Add Local Variables Group)

On Fri, Jan 16, 2015 at 11:14 AM, Marc Khouzam <marc.khouzam@xxxxxxxxxxxx> wrote:
Please go ahead and do it yourself, I will not have time at the moment.

Thanks


From: laskava@xxxxxxxxx [laskava@xxxxxxxxx] on behalf of Alena Laskavaia [elaskavaia.cdt@xxxxxxxxx]
Sent: January 16, 2015 11:06 AM

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

Is this mean you are doing it now? I think its great feature and we cannot hide it in docs
I think if you just have "Add Locals Group" and this action will add "*" they will figure out what * means.
But actually menu would be easier way anyway otherwise they have to do some clicks AND typing.

On Fri, Jan 16, 2015 at 11:02 AM, Marc Khouzam <marc.khouzam@xxxxxxxxxxxx> wrote:
It would have been better to give it some soak time to see if these extra menus are annoying in some way.  I think those menus might change based on feedback.  And if we find a more global solution, they may go away.

You can post something and show a screenshot to the list and see if anyone objects.

I think those menus should help the user figure out how to use the expressions view without having to use the menus...


From: laskava@xxxxxxxxx [laskava@xxxxxxxxx] on behalf of Alena Laskavaia [elaskavaia.cdt@xxxxxxxxx]
Sent: January 16, 2015 10:50 AM

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

Marc are you going to add these context menus before UI freeze? Or I can add them today

On Mon, Dec 1, 2014 at 11:33 AM, Alena Laskavaia <elaskavaia.cdt@xxxxxxxxx> wrote:
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