org.drools.eclipse.debug.core
Class DroolsStackFrame

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
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
Direct Known Subclasses:
MVELStackFrame

public class DroolsStackFrame
extends org.eclipse.jdt.internal.debug.core.model.JDIStackFrame


Field Summary
protected static String DROOLS_VAR_NAME
           
protected static String HANDLE_SUFIX
           
 
Fields inherited from interface org.eclipse.jdt.debug.core.IJavaStackFrame
ERR_INVALID_STACK_FRAME
 
Constructor Summary
DroolsStackFrame(org.eclipse.jdt.internal.debug.core.model.JDIThread thread, com.sun.jdi.StackFrame frame, int depth)
           
 
Method Summary
protected  org.eclipse.jdt.internal.debug.core.model.JDIStackFrame bind(com.sun.jdi.StackFrame frame, int depth)
           
 DRLInfo.FunctionInfo getExecutingFunctionInfo()
           
 DRLInfo.RuleInfo getExecutingRuleInfo()
           
 int getLineNumber()
           
 org.eclipse.jdt.debug.core.IJavaVariable[] getLocalVariables()
           
 com.sun.jdi.StackFrame getUnderlyingStackFrame()
           
 org.eclipse.debug.core.model.IVariable[] getVariables()
           
 boolean isExecutingRule()
           
protected  void setUnderlyingStackFrame(com.sun.jdi.StackFrame frame)
           
 void stepOver()
           
 
Methods inherited from class org.eclipse.jdt.internal.debug.core.model.JDIStackFrame
canDropToFrame, canForceReturn, canResume, canStepInto, canStepOver, canStepReturn, canStepWithFilters, canSuspend, canTerminate, dropToFrame, exists, findVariable, forceReturn, getAdapter, getArgumentTypeNames, getCharEnd, getCharStart, getDeclaringType, getDeclaringTypeName, getLineNumber, getMethodName, getName, getReceivingTypeName, getReferenceType, getRegisterGroups, getSignature, getSourceName, getSourceName, getSourcePath, 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
 

Field Detail

HANDLE_SUFIX

protected static final String HANDLE_SUFIX
See Also:
Constant Field Values

DROOLS_VAR_NAME

protected static final String DROOLS_VAR_NAME
See Also:
Constant Field Values
Constructor Detail

DroolsStackFrame

public DroolsStackFrame(org.eclipse.jdt.internal.debug.core.model.JDIThread thread,
                        com.sun.jdi.StackFrame frame,
                        int depth)
Method Detail

isExecutingRule

public boolean isExecutingRule()

getExecutingRuleInfo

public DRLInfo.RuleInfo getExecutingRuleInfo()

getExecutingFunctionInfo

public DRLInfo.FunctionInfo getExecutingFunctionInfo()

bind

protected org.eclipse.jdt.internal.debug.core.model.JDIStackFrame bind(com.sun.jdi.StackFrame frame,
                                                                       int depth)
Overrides:
bind in class org.eclipse.jdt.internal.debug.core.model.JDIStackFrame

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 org.eclipse.jdt.internal.debug.core.model.JDIStackFrame
Throws:
org.eclipse.debug.core.DebugException

getLocalVariables

public org.eclipse.jdt.debug.core.IJavaVariable[] getLocalVariables()
                                                             throws org.eclipse.debug.core.DebugException
Specified by:
getLocalVariables in interface org.eclipse.jdt.debug.core.IJavaStackFrame
Overrides:
getLocalVariables in class org.eclipse.jdt.internal.debug.core.model.JDIStackFrame
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 org.eclipse.jdt.internal.debug.core.model.JDIStackFrame
Throws:
org.eclipse.debug.core.DebugException

getUnderlyingStackFrame

public com.sun.jdi.StackFrame getUnderlyingStackFrame()
                                               throws org.eclipse.debug.core.DebugException
Overrides:
getUnderlyingStackFrame in class org.eclipse.jdt.internal.debug.core.model.JDIStackFrame
Throws:
org.eclipse.debug.core.DebugException

setUnderlyingStackFrame

protected void setUnderlyingStackFrame(com.sun.jdi.StackFrame frame)
Overrides:
setUnderlyingStackFrame in class org.eclipse.jdt.internal.debug.core.model.JDIStackFrame

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 org.eclipse.jdt.internal.debug.core.model.JDIStackFrame
Throws:
org.eclipse.debug.core.DebugException


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