Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Hierarchical Register Groups

Hi Shiva,

I don't think this is possible without modifying/extending RegisterVMProvider. As you have discovered register groups (most recently extended in 8.6 to allow users to manipulate the groups you are on your way to understanding the code. The vm provider (org.eclipse.cdt.dsf.debug.ui.viewmodel.register.RegisterVMProvider.configureLayout()) configures its layout, and as you can see in that code register groups can only be children of the root node.


Jonah Graham
Kichwa Coders

On Thu, 17 Jun 2021 at 09:26, Shiva Sharma <SHIVA.SHARMA@xxxxxxxxxxxx> wrote:
Hi Jonah, team,
If I want to create register groups in hierarchical manner during launch of debug session than how can I make use of the field ‘parent_id’ from group’s memento ?
I have extended RegisterGroupPersistance class but the groups seems to be created only in serial manner, so do not understand what is use of field ‘parent_id’ which is container_id internally. Is there a restriction ?
I want to create structure like (where ‘R’ could have ‘Core Registers’ group as container and could be set as ‘parent_id’ ?):
Please guide if this is easily possible ?
Thanks & Best Regards,
Shiva Sharma..

Back to the top