Community
Participate
Working Groups
We were trying to figure out why a node appears twice in the Modules View from CDT. When the list of modules in my debugger changes it refreshes the modules in CDT by issuing the following sequence of commands: Add(x), Remove(x), Add(y) It looked like the Remove request was ignored. So the Modules View showed two nodes - X and Y. During our investigation we found is that we add node X asynchronously by AsynchronousTreeModel.add using AddRequestMonitor. That delays adding the object to the map fElementToNodes. When Remove(x) is called it checks if it can find node X in fElementToNodes. AsynchronousTreeModel.remove ModelNode[] nodes = getNodes(element); if (nodes != null) { RemoveRequestMonitor request = new RemoveRequestMonitor.. But the node is not yet added and therefore nothing is removed. Later on the two additions come in a row, and of course they complete successfully. Can you please confirm if this is a real bug in the Debug Component or something in the Module View has to be done differently? Thanks.
This is a bug in the debug component. It has been fixed in 3.2.1 *** This bug has been marked as a duplicate of 139572 ***
Thanks Darin for the fast reply. Can I just get the patch from 139572 and apply it to the 3.2 release? Or I will need more changes?
The patch is a stand alone fix that can be applied by itself. However, 3.2.1 has been released, so you may just want to download the new build.