MemoryAgent (@NotNull EvaluationContextImpl evaluationContext) { DebuggerManagerThreadImpl.assertIsManagerThread(); MemoryAgent agent = MemoryAgentImpl.DISABLED; try { agent = MemoryAgentImpl.createMemoryAgent(evaluationContext); } catch (EvaluateException e) { LOG.error("Could not initialize memory agent. ", e); } evaluationContext.getDebugProcess().putUserData(MEMORY_AGENT_KEY, agent); return agent; }