diff --git a/java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/EvaluatorBuilderImpl.java b/java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/EvaluatorBuilderImpl.java index 7dc6ca926990..79f08aaf7c79 100644 --- a/java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/EvaluatorBuilderImpl.java +++ b/java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/EvaluatorBuilderImpl.java @@ -228,6 +228,7 @@ public class EvaluatorBuilderImpl implements EvaluatorBuilder { @Override public void visitStatement(PsiStatement statement) { + LOG.error(DebuggerBundle.message("evaluation.error.statement.not.supported", statement.getText())); throwEvaluateException(DebuggerBundle.message("evaluation.error.statement.not.supported", statement.getText())); } diff --git a/resources-en/src/messages/DebuggerBundle.properties b/resources-en/src/messages/DebuggerBundle.properties index 1f38b67a2042..a9c4e2130fd3 100644 --- a/resources-en/src/messages/DebuggerBundle.properties +++ b/resources-en/src/messages/DebuggerBundle.properties @@ -114,8 +114,8 @@ evaluation.error.lebeled.loops.not.found=No loop statements labeled with label ' evaluation.error.reference.type.expected=Reference type expected evaluation.error.variable.not.declared=Variable ''{0}'' is not declared evaluation.error.variable.already.declared=Variable ''{0}'' is already declared -evaluation.error.operation.not.supported=Operation ''{0}'' not supported -evaluation.error.statement.not.supported=Statement ''{0}'' not supported +evaluation.error.operation.not.supported=Operation ''{0}'' is not supported +evaluation.error.statement.not.supported=Statement ''{0}'' is not supported evaluation.error.incompatible.variable.initializer.type=Initializer for ''{0}'' has incompatible type evaluation.error.local.variable.missing.from.class.closure=Local variable ''{0}'' not found in class closure evaluation.error.local.variable.missing=Cannot find local variable ''{0}''