mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-129492 Throwable at com.intellij.debugger.engine.SuspendContextImpl.a
This commit is contained in:
@@ -100,10 +100,12 @@ public class JavaValueModifier extends XValueModifier {
|
||||
@Override
|
||||
public void setValue(@NotNull String expression, @NotNull XModificationCallback callback) {
|
||||
final NodeDescriptorImpl descriptor = myJavaValue.getDescriptor();
|
||||
if (!(descriptor instanceof ValueDescriptorImpl)) {
|
||||
if(!((ValueDescriptorImpl)descriptor).canSetValue()) {
|
||||
return;
|
||||
}
|
||||
if(!((ValueDescriptorImpl)descriptor).canSetValue()) {
|
||||
|
||||
if (myJavaValue.getEvaluationContext().getSuspendContext().isResumed()) {
|
||||
callback.errorOccurred(DebuggerBundle.message("error.context.has.changed"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user