use of com.intellij.debugger.impl.DebuggerUtilsEx in project intellij-community by JetBrains.
the class ShowAllAs method update.
public void update(AnActionEvent e) {
DebuggerTreeNode selectedNode = ((DebuggerUtilsEx) DebuggerUtils.getInstance()).getSelectedNode(e.getDataContext());
e.getPresentation().setVisible(myRenderer != null && selectedNode != null && isPrimitiveArray(selectedNode));
}
use of com.intellij.debugger.impl.DebuggerUtilsEx in project intellij-community by JetBrains.
the class SuspendContextImpl method resume.
protected void resume() {
assertNotResumed();
if (isEvaluating()) {
LOG.error("Resuming context while evaluating", ThreadDumper.dumpThreadsToString());
}
DebuggerManagerThreadImpl.assertIsManagerThread();
try {
if (!Patches.IBM_JDK_DISABLE_COLLECTION_BUG) {
myKeptReferences.forEach(DebuggerUtilsEx::enableCollection);
myKeptReferences.clear();
}
for (SuspendContextCommandImpl cmd = pollPostponedCommand(); cmd != null; cmd = pollPostponedCommand()) {
cmd.notifyCancelled();
}
resumeImpl();
} finally {
myIsResumed = true;
}
}
Aggregations