Method method = getUnderlyingMethod(); // onBreak
ReferenceType declaringType = method.declaringType(); // org.drools.core.base.mvel.MVELDebugHandler
try {
Object var = method.variables().get( 0 );
LocalVariable v2 = (LocalVariable) var;
JDILocalVariable frameLocal = new JDILocalVariable( this,
v2 );
IValue knownVars = DebugUtil.getValueByExpression( "return getFactory().getKnownVariables().toArray(new String[0]);",
frameLocal.getValue() );