mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-205407 Parameter is not resolved in breakpoint condition after adding @NotNull to parameter
This commit is contained in:
+2
-1
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user