Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] DebugUI Variables View context menu

This is on my list, hopefully I can get the patch submitted next week.
FYI the patch adds a new MI command which lists global variables per
object file - this is to avoid the time-consuming process of
outputting the contents of the symbol table for the entire process.
The intention therefore is that CDT will have a corresponding
interface where users can view/select global variables per object
file, probably in something like the 'Modules' view.

Mike

On 21 September 2012 04:36, Marc Khouzam <marc.khouzam@xxxxxxxxxxxx> wrote:
>
> ________________________________________
>> From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Vladimir Prus [vladimir@xxxxxxxxxxxxxxxx]
>> Sent: September 21, 2012 12:59 AM
>> To: cdt-dev@xxxxxxxxxxx
>> Cc: Mike Wrighton
>> Subject: Re: [cdt-dev] DebugUI Variables View context menu
>>
>> On 21.09.2012 02:11, kesselhaus wrote:
>> > Hi,
>> >
>> > The question came up on #eclipse on irc.freenode.net about the Debug UI "Variables" View.
>> > The context menu contains a "Add Global Variable" which is greyed out all the time.
>> > I tried that on Indigo and Juno and that guy was right.
>> >
>> > The question is, what is this entry supposed to do, and when will it ever get activated?
>>
>> I believe it is supposed to show the list of global variables, so that you can pick one and
>> have it added to the variables view.
>>
>> My colleague Mike Wrighton has been looking into reviving this functionality (both DSF side
>> and required GDB changes) and has a WIP patch, but there's no ETA for completion at present.
>> Though, maybe at least the GDB patch can be submitted upstream pretty soon. Mike?
>
> That is excellent news.  Looking forward to it.
>
> For info, here are bugs tracking the entire issues:
>
> Bug 219040 - [variables][cdi] Variables view should show globals (or should it?)
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=219040
>
> Bug 323408 - Variables View's "Global variables" context menu and toolbar buttons should be visible only for CDI models
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=323408
>
> Bug 343911 - add/remove global actions for variables view should be overridable for non CDI debuggers
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=343911
>
> Marc
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top