EA-100601 - NPE: DebugProcessEvents.notifySkippedBreakpoints

This commit is contained in:
Egor.Ushakov
2017-06-09 18:12:12 +03:00
parent 423ff4a8e2
commit 732719f619
@@ -526,9 +526,11 @@ public class DebugProcessEvents extends DebugProcessImpl {
}
private void notifySkippedBreakpoints(LocatableEvent event) {
XDebugSessionImpl.NOTIFICATION_GROUP
.createNotification(DebuggerBundle.message("message.breakpoint.skipped", event.location()), MessageType.INFO)
.notify(getProject());
if (event != null) {
XDebugSessionImpl.NOTIFICATION_GROUP
.createNotification(DebuggerBundle.message("message.breakpoint.skipped", event.location()), MessageType.INFO)
.notify(getProject());
}
}
@Nullable