1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-19 06:55:23 +02:00

Bug 347255 - [disassembly] NPE in BreakpointsAnnotationModel

This commit is contained in:
Anton Leherbauer 2011-05-26 08:18:26 +00:00
parent 5e00cb748e
commit b8859f5dd6

View file

@ -133,6 +133,9 @@ public class BreakpointsAnnotationModel extends AnnotationModel implements IBrea
}
private void addBreakpointAnnotation(IBreakpoint breakpoint, boolean fireEvent) {
if (fDocument == null) {
return;
}
final IMarker marker= breakpoint.getMarker();
if (marker == null) {
return;