diff --git a/java/debugger/debugger-agent/src/com/intellij/rt/debugger/agent/CaptureAgent.java b/java/debugger/debugger-agent/src/com/intellij/rt/debugger/agent/CaptureAgent.java index 5d35743f1f9b..8e3a664fb859 100644 --- a/java/debugger/debugger-agent/src/com/intellij/rt/debugger/agent/CaptureAgent.java +++ b/java/debugger/debugger-agent/src/com/intellij/rt/debugger/agent/CaptureAgent.java @@ -168,7 +168,7 @@ public class CaptureAgent { Class classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) { - if (className != null) { + if (className != null && classBeingRedefined == null) { // we do not support redefinition or retransform List classPoints = myInstrumentPoints.get(className); if (classPoints != null) { try {