mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[debugger] gather fresh slowness reports
GitOrigin-RevId: f8c25919f9da12bb7a0bb5b3112affcfb5563b2e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4f4f2b6ff7
commit
d9fa1b2091
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.xdebugger.impl.breakpoints;
|
||||
|
||||
import com.intellij.openapi.application.AccessToken;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.application.ReadAction;
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
@@ -24,7 +23,6 @@ import com.intellij.openapi.vfs.VfsUtilCore;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.openapi.vfs.VirtualFileManager;
|
||||
import com.intellij.util.DocumentUtil;
|
||||
import com.intellij.util.SlowOperations;
|
||||
import com.intellij.util.concurrency.annotations.RequiresBackgroundThread;
|
||||
import com.intellij.xdebugger.XDebuggerManager;
|
||||
import com.intellij.xdebugger.XDebuggerUtil;
|
||||
@@ -348,9 +346,7 @@ public final class XLineBreakpointImpl<P extends XBreakpointProperties> extends
|
||||
public void updatePosition() {
|
||||
if (myHighlighter != null && myHighlighter.isValid()) {
|
||||
mySourcePosition = null; // reset the source position even if the line number has not changed, as the offset may be cached inside
|
||||
try (AccessToken ignore = SlowOperations.knownIssue("IDEA-323746, EA-674953")) {
|
||||
setLine(myHighlighter.getDocument().getLineNumber(getOffset()), false);
|
||||
}
|
||||
setLine(myHighlighter.getDocument().getLineNumber(getOffset()), false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user