org.drools.eclipse.debug.core
Class MVELStackFrame

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.debug.core.model.DebugElement
          extended by org.eclipse.jdt.internal.debug.core.model.JDIDebugElement
              extended by org.eclipse.jdt.internal.debug.core.model.JDIStackFrame
                  extended by org.drools.eclipse.debug.core.DroolsStackFrame
                      extended by org.drools.eclipse.debug.core.MVELStackFrame
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.IDisconnect, org.eclipse.debug.core.model.IDropToFrame, org.eclipse.debug.core.model.IFilteredStep, org.eclipse.debug.core.model.IStackFrame, org.eclipse.debug.core.model.IStep, org.eclipse.debug.core.model.ISuspendResume, org.eclipse.debug.core.model.ITerminate, org.eclipse.jdt.debug.core.IJavaModifiers, org.eclipse.jdt.debug.core.IJavaStackFrame

public class MVELStackFrame
extends DroolsStackFrame

Stack Frame for MVEL Dialect


Nested Class Summary
static class MVELStackFrame.MVELStackFrameContext
           
 
Field Summary
 
Fields inherited from class org.drools.eclipse.debug.core.DroolsStackFrame
DROOLS_VAR_NAME, HANDLE_SUFIX
 
Fields inherited from interface org.eclipse.jdt.debug.core.IJavaStackFrame
ERR_INVALID_STACK_FRAME
 
Constructor Summary
MVELStackFrame(DroolsThread thread, com.sun.jdi.StackFrame frame, int depth)
           
 
Method Summary
 boolean canDropToFrame()
           
 boolean canStepInto()
           
 boolean canStepReturn()
           
 boolean canStepWithFilters()
           
 DRLInfo.RuleInfo getExecutingRuleInfo()
           
 int getLineNumber()
           
 String getMVELName()
           
 org.eclipse.jdt.debug.core.IJavaReferenceType getReferenceType()
           
 String getSourceName()
           
 String getSourcePath()
           
 org.eclipse.debug.core.model.IVariable[] getVariables()
           
 void stepOver()
           
 
Methods inherited from class org.drools.eclipse.debug.core.DroolsStackFrame
bind, getExecutingFunctionInfo, getLocalVariables, getUnderlyingStackFrame, isExecutingRule, setUnderlyingStackFrame
 
Methods inherited from class org.eclipse.jdt.internal.debug.core.model.JDIStackFrame
canForceReturn, canResume, canStepOver, canSuspend, canTerminate, dropToFrame, exists, findVariable, forceReturn, getAdapter, getArgumentTypeNames, getCharEnd, getCharStart, getDeclaringType, getDeclaringTypeName, getLineNumber, getMethodName, getName, getReceivingTypeName, getRegisterGroups, getSignature, getSourceName, getSourcePath, getThis, getThread, getUnderlyingMethod, getUnderlyingThisObject, getUnderlyingVisibleVariables, getVariables0, hasRegisterGroups, hasVariables, isConstructor, isFinal, isNative, isObsolete, isOutOfSynch, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStaticInitializer, isStepping, isSuspended, isSynchronized, isSynthetic, isTerminated, isTopStackFrame, isVarArgs, popFrame, resume, setOutOfSynch, setThread, setVariables, stepInto, stepReturn, stepWithFilters, supportsDropToFrame, suspend, terminate, updateVariables, wereLocalsAvailable
 
Methods inherited from class org.eclipse.jdt.internal.debug.core.model.JDIDebugElement
addJDIEventListener, canDisconnect, disconnect, disconnected, fireSuspendEvent, getEventRequestManager, getJavaDebugTarget, getModelIdentifier, getRequestTimeout, getUnknownMessage, getVM, internalError, internalError, isDisconnected, isStepFiltersEnabled, jdiRequestFailed, logError, notSupported, queueEvent, queueSuspendEvent, removeJDIEventListener, requestFailed, requestFailed, setRequestTimeout, supportsRequestTimeout, targetRequestFailed, targetRequestFailed, throwDebugException
 
Methods inherited from class org.eclipse.debug.core.model.DebugElement
fireChangeEvent, fireCreationEvent, fireEvent, fireResumeEvent, fireTerminateEvent, getDebugTarget, getLaunch, notSupported, requestFailed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
 

Constructor Detail

MVELStackFrame

public MVELStackFrame(DroolsThread thread,
                      com.sun.jdi.StackFrame frame,
                      int depth)
Method Detail

getExecutingRuleInfo

public DRLInfo.RuleInfo getExecutingRuleInfo()
Overrides:
getExecutingRuleInfo in class DroolsStackFrame

getVariables

public org.eclipse.debug.core.model.IVariable[] getVariables()
                                                      throws org.eclipse.debug.core.DebugException
Specified by:
getVariables in interface org.eclipse.debug.core.model.IStackFrame
Overrides:
getVariables in class DroolsStackFrame
Throws:
org.eclipse.debug.core.DebugException

getLineNumber

public int getLineNumber()
                  throws org.eclipse.debug.core.DebugException
Specified by:
getLineNumber in interface org.eclipse.debug.core.model.IStackFrame
Overrides:
getLineNumber in class DroolsStackFrame
Throws:
org.eclipse.debug.core.DebugException

getMVELName

public String getMVELName()

getSourcePath

public String getSourcePath()
                     throws org.eclipse.debug.core.DebugException
Specified by:
getSourcePath in interface org.eclipse.jdt.debug.core.IJavaStackFrame
Overrides:
getSourcePath in class org.eclipse.jdt.internal.debug.core.model.JDIStackFrame
Throws:
org.eclipse.debug.core.DebugException

getSourceName

public String getSourceName()
                     throws org.eclipse.debug.core.DebugException
Specified by:
getSourceName in interface org.eclipse.jdt.debug.core.IJavaStackFrame
Overrides:
getSourceName in class org.eclipse.jdt.internal.debug.core.model.JDIStackFrame
Throws:
org.eclipse.debug.core.DebugException

stepOver

public void stepOver()
              throws org.eclipse.debug.core.DebugException
Specified by:
stepOver in interface org.eclipse.debug.core.model.IStep
Overrides:
stepOver in class DroolsStackFrame
Throws:
org.eclipse.debug.core.DebugException

canStepInto

public boolean canStepInto()
Specified by:
canStepInto in interface org.eclipse.debug.core.model.IStep
Overrides:
canStepInto in class org.eclipse.jdt.internal.debug.core.model.JDIStackFrame

canDropToFrame

public boolean canDropToFrame()
Specified by:
canDropToFrame in interface org.eclipse.debug.core.model.IDropToFrame
Overrides:
canDropToFrame in class org.eclipse.jdt.internal.debug.core.model.JDIStackFrame

canStepReturn

public boolean canStepReturn()
Specified by:
canStepReturn in interface org.eclipse.debug.core.model.IStep
Overrides:
canStepReturn in class org.eclipse.jdt.internal.debug.core.model.JDIStackFrame

canStepWithFilters

public boolean canStepWithFilters()
Specified by:
canStepWithFilters in interface org.eclipse.debug.core.model.IFilteredStep
Overrides:
canStepWithFilters in class org.eclipse.jdt.internal.debug.core.model.JDIStackFrame

getReferenceType

public org.eclipse.jdt.debug.core.IJavaReferenceType getReferenceType()
                                                               throws org.eclipse.debug.core.DebugException
Specified by:
getReferenceType in interface org.eclipse.jdt.debug.core.IJavaStackFrame
Overrides:
getReferenceType in class org.eclipse.jdt.internal.debug.core.model.JDIStackFrame
Throws:
org.eclipse.debug.core.DebugException


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.