Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Modules view questions (1)

I noticed that on every step in GDB ModulesVMNode asks Modules View to update.
That is because ModulesVMNode.getDeltaFlags() returns IModelDelta.CONTENT. 

Doesn't it make more sense for the IModules service to figure out when the symbols really changed and fires the appropriate IModules.ModuleLoadedDMEvent or IModules.ModuleUnloadedDMEvent?  
Or ISymbols.ISymbolDataChangedDMEvent, I am not sure? 
Then ModulesVMNode will only listens on any/all of these events and triggers the update. 

If these events are fired that will also address 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=324013 for Disassembly view refresh button issue.

Do other backend use ModulesVMNode? Do they find updating the modules view slow on every halt? 
If nobody is interested I think I can keep this change private to our debugger. 

Any thoughts? 

Regards
Dobrin




Back to the top