mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-66645 - IE: JavaExecutionStack.calcIcon - error 15
This commit is contained in:
@@ -58,7 +58,7 @@ public class JavaExecutionStack extends XExecutionStack {
|
||||
if (current) {
|
||||
return AllIcons.Debugger.ThreadCurrent;
|
||||
}
|
||||
else if (threadProxy.getThreadReference().isAtBreakpoint()) {
|
||||
else if (threadProxy.isAtBreakpoint()) {
|
||||
return AllIcons.Debugger.ThreadAtBreakpoint;
|
||||
}
|
||||
else if (threadProxy.isSuspended()) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2014 JetBrains s.r.o.
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -303,4 +303,13 @@ public final class ThreadReferenceProxyImpl extends ObjectReferenceProxyImpl imp
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isAtBreakpoint() {
|
||||
try {
|
||||
return getThreadReference().isAtBreakpoint();
|
||||
} catch (InternalException e) {
|
||||
LOG.info(e);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -100,7 +100,7 @@ public class ThreadDescriptorImpl extends NodeDescriptorImpl implements ThreadDe
|
||||
}
|
||||
myIsExpandable = calcExpandable(myIsSuspended);
|
||||
mySuspendContext = SuspendManagerUtil.getSuspendContextForThread(suspendContext, thread);
|
||||
myIsAtBreakpoint = suspendManager != null? SuspendManagerUtil.findContextByThread(suspendManager, thread) != null : thread.getThreadReference().isAtBreakpoint();
|
||||
myIsAtBreakpoint = suspendManager != null? SuspendManagerUtil.findContextByThread(suspendManager, thread) != null : thread.isAtBreakpoint();
|
||||
myIsCurrent = suspendContext != null? suspendContext.getThread() == thread : false;
|
||||
myIsFrozen = suspendManager != null? suspendManager.isFrozen(thread) : myIsSuspended;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user