|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.sposh.dbg.engine.EvaluationListener
public abstract class EvaluationListener
Various useful methods for engine.
| Constructor Summary | |
|---|---|
EvaluationListener()
|
|
| Method Summary | |
|---|---|
protected String |
callStringMethod(org.netbeans.api.debugger.jpda.JPDADebugger debugger,
org.netbeans.api.debugger.jpda.This thisVar,
org.netbeans.api.debugger.jpda.JPDAThread thread,
String methodName)
Call some method in the debuggee that is without parameters and returns a string. |
protected org.netbeans.api.debugger.jpda.MethodBreakpoint |
createSelfRemoveBreakpoint(String stateClass,
String methodName,
int breakpointType)
Create new java breakpoint in the class of action primitive |
String |
getDisplayName(org.netbeans.api.debugger.jpda.JPDADebugger debugger,
EngineThread thread)
Get name for this lap engine, create it from the session and thread names. |
static org.netbeans.api.debugger.Session |
getSession(org.netbeans.api.debugger.jpda.JPDADebugger debugger)
Get session that is using passed debugger. |
org.netbeans.api.debugger.jpda.This |
getThisVariable(org.netbeans.api.debugger.jpda.JPDAThread thread)
|
protected void |
setCurrentThread(org.netbeans.api.debugger.jpda.JPDADebugger dbg,
org.netbeans.api.debugger.jpda.JPDAThread thread)
Set some thread to be current, but w/o firing property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.netbeans.api.debugger.jpda.event.JPDABreakpointListener |
|---|
breakpointReached |
| Constructor Detail |
|---|
public EvaluationListener()
| Method Detail |
|---|
public final String getDisplayName(org.netbeans.api.debugger.jpda.JPDADebugger debugger,
EngineThread thread)
debugger - Debugger where the engine is being debuggedthread - Thread where the engine is running.
public final org.netbeans.api.debugger.jpda.This getThisVariable(org.netbeans.api.debugger.jpda.JPDAThread thread)
throws com.sun.jdi.AbsentInformationException
com.sun.jdi.AbsentInformationExceptionpublic static org.netbeans.api.debugger.Session getSession(org.netbeans.api.debugger.jpda.JPDADebugger debugger)
NoSuchElementException - if unable to find session for the debugger
protected final void setCurrentThread(org.netbeans.api.debugger.jpda.JPDADebugger dbg,
org.netbeans.api.debugger.jpda.JPDAThread thread)
protected final String callStringMethod(org.netbeans.api.debugger.jpda.JPDADebugger debugger,
org.netbeans.api.debugger.jpda.This thisVar,
org.netbeans.api.debugger.jpda.JPDAThread thread,
String methodName)
throws NoSuchMethodException,
org.netbeans.api.debugger.jpda.InvalidExpressionException
NoSuchMethodException
org.netbeans.api.debugger.jpda.InvalidExpressionException
protected final org.netbeans.api.debugger.jpda.MethodBreakpoint createSelfRemoveBreakpoint(String stateClass,
String methodName,
int breakpointType)
stateClass - FQN of primitive state classbreakpointType - Type of breakpoint, either MethodBreakpoint.TYPE_METHOD_ENTRY
or MethodBreakpoint.TYPE_METHOD_EXIT.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||