Hi Alvaro,
Register grouping has been in DSF for long. See
org.eclipse.cdt.dsf.debug.ui.viewmodel.register.RegisterVMProvider
Or just start DSF GDB debugger, you will see.
Thanks.
Ling
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Alvaro Sanchez
Sent: Tuesday, May 14, 2013 7:17 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] preserve expanded state in register view across session
Hello,
Register grouping is only supported by the CDI implementation (see CRegisterManager for saving and initializing from the launch configuration)
I am currently looking in how to implement register grouping in DSF, once we have that we can discuss how to preserve the expanded state in DSF.
The implementations in CDI and DSF are quite different e.g. on the gdb/mi interface CDI uses var-create/var-evaluate-_expression_ whereas DSF uses data-list-registers-values.
It would nice to know if anyone else has looked into Register grouping in CDI/DSF to exchange some ideas on the implementation of Register Grouping in DSF
On Tue, May 14, 2013 at 2:20 AM, Ling Wang <Ling.Wang@xxxxxxxxxx> wrote:
Hi there,
This is Ling and I’m back to this great community after more than one year’s departure.
Question. How can I preserve the expanded state of a register group in Register View across debug session ? I see the RegistersView is from platform UI, and I haven’t found any
code in that class or any API that allows the model (CDT, DSF) to control which node is expanded.
Pointers ?
Thanks !
Ling
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev