From 3e128dbbade573d2a842ef75eb821b15db3b5a71 Mon Sep 17 00:00:00 2001 From: Egor Ushakov Date: Fri, 8 May 2020 11:36:36 +0300 Subject: [PATCH] fixed wrong negation GitOrigin-RevId: 109fb48db08ebb033c2921d4a3e9488f1f165977 --- .../src/com/intellij/debugger/jdi/LocalVariablesUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/debugger/impl/src/com/intellij/debugger/jdi/LocalVariablesUtil.java b/java/debugger/impl/src/com/intellij/debugger/jdi/LocalVariablesUtil.java index ece55db60cb5..a4a06494947f 100644 --- a/java/debugger/impl/src/com/intellij/debugger/jdi/LocalVariablesUtil.java +++ b/java/debugger/impl/src/com/intellij/debugger/jdi/LocalVariablesUtil.java @@ -1,4 +1,4 @@ -// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.debugger.jdi; import com.intellij.debugger.SourcePosition; @@ -324,7 +324,7 @@ public class LocalVariablesUtil { throw e; } catch (Exception e) { - if (vm.canBeModified()) { // do not care in read only vms + if (!vm.canBeModified()) { // do not care in read only vms LOG.debug(e); } else {