diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/XLineBreakpointImpl.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/XLineBreakpointImpl.java index a782cd89df0c..258606a2b015 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/XLineBreakpointImpl.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/XLineBreakpointImpl.java @@ -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
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 } }