IDEA-205407 Parameter is not resolved in breakpoint condition after adding @NotNull to parameter

This commit is contained in:
Egor Ushakov
2019-01-16 17:32:32 +03:00
parent a643a01775
commit 89e6b43c21
@@ -1,4 +1,4 @@
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.xdebugger.impl.breakpoints;
import com.intellij.openapi.application.ApplicationManager;
@@ -263,6 +263,7 @@ public class XLineBreakpointImpl<P extends XBreakpointProperties> extends XBreak
public void updatePosition() {
if (myHighlighter != null && myHighlighter.isValid()) {
setLine(myHighlighter.getDocument().getLineNumber(myHighlighter.getStartOffset()), false);
mySourcePosition = null; // need to clear this no matter what as the offset may be cached inside
}
}