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:
parent
5e00cb748e
commit
b8859f5dd6
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue