mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
Bug 311122 - [breakpoints] NPE in AbstractBreakpointVMNode.
This commit is contained in:
parent
2fd8cfac1d
commit
9acd76c5b0
1 changed files with 4 additions and 6 deletions
|
@ -283,9 +283,8 @@ public class BreakpointVMProvider extends AbstractVMProvider
|
|||
getBreakpointOrganizerVMCs(
|
||||
(BreakpointOrganizerVMNode)_nestingOrganizerVmc.getVMNode(), path.getParentPath(),
|
||||
new DataRequestMonitor<List<BreakpointOrganizerVMContext>>(getExecutor(), rm) {
|
||||
@Override
|
||||
protected void handleCompleted() {
|
||||
if (isSuccess()) {
|
||||
@Override
|
||||
protected void handleSuccess() {
|
||||
int newVmcIdx = getData().indexOf(_nestingOrganizerVmc);
|
||||
|
||||
if (newVmcIdx >= 0) {
|
||||
|
@ -293,10 +292,9 @@ public class BreakpointVMProvider extends AbstractVMProvider
|
|||
} else {
|
||||
rm.setStatus(new Status(IStatus.ERROR, DsfUIPlugin.PLUGIN_ID, IDsfStatusConstants.INVALID_HANDLE, "Breakpoint category not found", null)); //$NON-NLS-1$
|
||||
}
|
||||
rm.done();
|
||||
}
|
||||
rm.done();
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue