mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[debugger] IDEA-385233 Fix throttled labels
GitOrigin-RevId: fdf4f32d96371bb03b8965d06b17383a43578386
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8328b73e58
commit
83c9f3c881
@@ -19,6 +19,7 @@ import com.intellij.debugger.ui.breakpoints.StackCapturingLineBreakpoint;
|
||||
import com.intellij.execution.JavaExecutionUtil;
|
||||
import com.intellij.execution.configurations.JavaParameters;
|
||||
import com.intellij.execution.configurations.ParametersList;
|
||||
import com.intellij.icons.AllIcons;
|
||||
import com.intellij.ide.plugins.PluginManagerCore;
|
||||
import com.intellij.ide.plugins.PluginManagerCoreKt;
|
||||
import com.intellij.idea.AppMode;
|
||||
@@ -562,11 +563,12 @@ public final class AsyncStacksUtils {
|
||||
}
|
||||
}
|
||||
|
||||
private static class ThrottledFrame extends XStackFrame implements XStackFrameWithSeparatorAbove, JVMStackFrameInfoProvider {
|
||||
private static class ThrottledFrame extends XStackFrame implements XStackFrameWithSeparatorAbove {
|
||||
private boolean myWithSeparator;
|
||||
|
||||
@Override
|
||||
public void customizePresentation(@NotNull ColoredTextContainer component) {
|
||||
component.setIcon(AllIcons.Empty);
|
||||
component.append(JavaDebuggerBundle.message("async.stack.throttled.frame.label"), SimpleTextAttributes.GRAY_ITALIC_ATTRIBUTES);
|
||||
}
|
||||
|
||||
@@ -591,15 +593,5 @@ public final class AsyncStacksUtils {
|
||||
public void setWithSeparator(boolean withSeparator) {
|
||||
myWithSeparator = withSeparator;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSynthetic() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isInLibraryContent() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -555,9 +555,9 @@ column.name.shallow.size=Shallow Size
|
||||
column.name.retained.size=Retained Size
|
||||
stepping.filter.real.thread.name=thread {0}
|
||||
debugger.variables.not.available.in.async=Variables are not available for async stack frames
|
||||
async.stack.throttled.frame.label=Async frames are omitted
|
||||
async.stack.throttled.frame.info=Async stack trace was not collected due to performance overhead. You can disable throttling in
|
||||
label.capture.configurable.throttling=Throttle async stack traces collection on significant overhead
|
||||
async.stack.throttled.frame.label=Could not capture
|
||||
async.stack.throttled.frame.info=Async stack trace was not collected for performance reasons. You can disable throttling in
|
||||
label.capture.configurable.throttling=Throttle async stack traces on significant overhead
|
||||
exception=Exception
|
||||
ref=Ref
|
||||
thread.dump.during.previous.dump.evaluation.warning=Evaluation of the previous dump is still in progress. Java platform thread dump is taken.
|
||||
|
||||
Reference in New Issue
Block a user