public final static synchronized DroolsStackFrame createCustomFrame(DroolsThread thread,
int depth,
StackFrame currentFrame) {
DroolsStackFrame customFrame;
Location loc = currentFrame.location();
if ( loc.declaringType().name().equals( "org.drools.core.base.mvel.MVELDebugHandler" ) && loc.method().name().equals( "onBreak" ) ) {
customFrame = new MVELStackFrame( thread,
currentFrame,
depth );
} else {
customFrame = new DroolsStackFrame( thread,