diff --git a/java/debugger/impl/src/com/intellij/debugger/engine/events/SuspendContextCommandImpl.kt b/java/debugger/impl/src/com/intellij/debugger/engine/events/SuspendContextCommandImpl.kt index f331b89c1f45..1ad4e9cc2819 100644 --- a/java/debugger/impl/src/com/intellij/debugger/engine/events/SuspendContextCommandImpl.kt +++ b/java/debugger/impl/src/com/intellij/debugger/engine/events/SuspendContextCommandImpl.kt @@ -38,7 +38,9 @@ abstract class SuspendContextCommandImpl protected constructor(open val suspendC } invokeWithChecks(suspendContext) { - LOG.debug("Executing suspend-context-command: $this") + if (LOG.isDebugEnabled) { + LOG.debug("Executing suspend-context-command: $this") + } contextActionSuspend(suspendContext) } check(resetContinuation(null) == null) { "Continuation is not null after resume" }