1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 10:16:03 +02:00

Bug 311122 - [breakpoints] NPE in AbstractBreakpointVMNode.

This commit is contained in:
Pawel Piech 2010-04-29 22:38:17 +00:00
parent 2fd8cfac1d
commit 9acd76c5b0

View file

@ -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();
}
});
});
}
}