|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.model.DebugElement
org.eclipse.jdt.internal.debug.core.model.JDIDebugElement
org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget
org.drools.eclipse.debug.core.DroolsDebugTarget
public class DroolsDebugTarget
| Constructor Summary | |
|---|---|
DroolsDebugTarget(org.eclipse.debug.core.ILaunch launch,
com.sun.jdi.VirtualMachine jvm,
String name,
boolean supportTerminate,
boolean supportDisconnect,
org.eclipse.debug.core.model.IProcess process,
boolean resume)
|
|
| Method Summary | |
|---|---|
void |
breakpointAdded(org.eclipse.debug.core.model.IBreakpoint breakpoint)
|
void |
breakpointRemoved(org.eclipse.debug.core.model.IBreakpoint breakpoint,
org.eclipse.core.resources.IMarkerDelta delta)
|
protected void |
cancelSuspendByBreakpoint(org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint breakpoint)
|
boolean |
canResume()
|
protected org.eclipse.jdt.internal.debug.core.model.JDIThread |
createThread(com.sun.jdi.ThreadReference thread)
|
void |
disconnect()
|
org.eclipse.jdt.internal.debug.core.model.JDIThread |
findThread(com.sun.jdi.ThreadReference tr)
|
DroolsLineBreakpoint |
getDroolsBreakpoint(String source)
Tries to find a match for the provided breakpoint information from the list of registered breakpoints. |
org.eclipse.debug.core.model.IThread[] |
getThreads()
|
protected org.drools.eclipse.debug.core.DroolsDebugTarget.ThreadStartHandler |
getThreadStartHandler2()
|
void |
handleVMStart(com.sun.jdi.event.VMStartEvent event)
|
boolean |
hasThreads()
|
protected void |
initialize()
|
protected void |
initializeRequests()
|
protected void |
initializeState()
|
boolean |
isOutOfSynch()
|
boolean |
isSuspended()
|
boolean |
mayBeOutOfSynch()
|
void |
prepareToSuspendByBreakpoint(org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint breakpoint)
|
protected void |
removeAllThreads()
|
protected void |
resume(boolean fireNotification)
|
protected void |
resumeThreads()
|
protected void |
setThreadStartHandler(org.drools.eclipse.debug.core.DroolsDebugTarget.ThreadStartHandler threadStartHandler)
|
void |
suspend()
|
protected void |
suspendThreads()
|
void |
terminate()
|
| Methods inherited from class org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget |
|---|
addHotCodeReplaceListener, addOutOfSynchTypes, breakpointChanged, breakpointManagerEnablementChanged, canDisconnect, canPopFrames, canSuspend, canTerminate, cleanup, createClassPrepareRequest, createClassPrepareRequest, createClassPrepareRequest, createClassPrepareRequest, disconnected, findVariable, getAdapter, getAllThreadGroups, getBreakpoints, getCRC, getDebugTarget, getDefaultStratum, getEvaluationEngine, getEventDispatcher, getHotCodeReplaceListeners, getJavaTypes, getLaunch, getMemoryBlock, getName, getProcess, getRootThreadGroups, getStepFilters, getSuspendCount, getThreadStartHandler, getVersion, getVM, getVMName, handleDebugEvents, handleVMDeath, handleVMDisconnect, hasHCRFailed, hasHCROccurred, incrementSuspendCount, initializeBreakpoints, isAvailable, isDisconnected, isFilterConstructors, isFilterStaticInitializers, isFilterSynthetics, isOutOfSynch, isPerformingHotCodeReplace, isResumeOnStartup, isStepFiltersEnabled, isStepThruFilters, isTerminated, isTerminating, jdiClassesByName, launchAdded, launchChanged, launchRemoved, newThread, newValue, newValue, newValue, newValue, newValue, newValue, newValue, newValue, newValue, nullValue, prepareThreadsForClientSuspend, refreshState, reinstallAllBreakpoints, reinstallBreakpointsIn, removeAllBreakpoints, removeHotCodeReplaceListener, removeOutOfSynchTypes, resume, resumeQuiet, sendCommand, sendJDWPCommand, setDefaultStratum, setDisconnected, setFilterConstructors, setFilterStaticInitializers, setFilterSynthetics, setHCROccurred, setIsPerformingHotCodeReplace, setName, setProcess, setStepFilters, setStepFiltersEnabled, setStepThruFilters, setTerminated, setTerminating, setThreadStartHandler, shutdown, supportsAccessWatchpoints, supportsBreakpoint, supportsDisconnect, supportsForceReturn, supportsHotCodeReplace, supportsInstanceBreakpoints, supportsInstanceRetrieval, supportsJ9HotCodeReplace, supportsJDKHotCodeReplace, supportsModificationWatchpoints, supportsMonitorInformation, supportsSelectiveGarbageCollection, supportsStepFilters, supportsStorageRetrieval, supportsTerminate, suspendedByBreakpoint, terminated, voidValue |
| Methods inherited from class org.eclipse.jdt.internal.debug.core.model.JDIDebugElement |
|---|
addJDIEventListener, fireSuspendEvent, getEventRequestManager, getJavaDebugTarget, getModelIdentifier, getRequestTimeout, getUnknownMessage, internalError, internalError, 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, 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.jdt.debug.core.IJavaDebugTarget |
|---|
getRequestTimeout, setRequestTimeout, supportsRequestTimeout |
| Methods inherited from interface org.eclipse.debug.core.model.IDebugElement |
|---|
getModelIdentifier |
| Constructor Detail |
|---|
public DroolsDebugTarget(org.eclipse.debug.core.ILaunch launch,
com.sun.jdi.VirtualMachine jvm,
String name,
boolean supportTerminate,
boolean supportDisconnect,
org.eclipse.debug.core.model.IProcess process,
boolean resume)
| Method Detail |
|---|
public void breakpointAdded(org.eclipse.debug.core.model.IBreakpoint breakpoint)
breakpointAdded in interface org.eclipse.debug.core.IBreakpointListenerbreakpointAdded in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetprotected void initialize()
initialize in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetprotected org.eclipse.jdt.internal.debug.core.model.JDIThread createThread(com.sun.jdi.ThreadReference thread)
createThread in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetpublic boolean canResume()
canResume in interface org.eclipse.debug.core.model.ISuspendResumecanResume in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget
protected void resume(boolean fireNotification)
throws org.eclipse.debug.core.DebugException
resume in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetorg.eclipse.debug.core.DebugExceptionpublic boolean isSuspended()
isSuspended in interface org.eclipse.debug.core.model.ISuspendResumeisSuspended in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetpublic org.eclipse.debug.core.model.IThread[] getThreads()
getThreads in interface org.eclipse.debug.core.model.IDebugTargetgetThreads in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetprotected void removeAllThreads()
removeAllThreads in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetprotected void initializeRequests()
initializeRequests in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetpublic boolean hasThreads()
hasThreads in interface org.eclipse.debug.core.model.IDebugTargethasThreads in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetprotected org.drools.eclipse.debug.core.DroolsDebugTarget.ThreadStartHandler getThreadStartHandler2()
protected void setThreadStartHandler(org.drools.eclipse.debug.core.DroolsDebugTarget.ThreadStartHandler threadStartHandler)
public boolean isOutOfSynch()
throws org.eclipse.debug.core.DebugException
isOutOfSynch in interface org.eclipse.jdt.debug.core.IJavaDebugTargetisOutOfSynch in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetorg.eclipse.debug.core.DebugExceptionpublic boolean mayBeOutOfSynch()
mayBeOutOfSynch in interface org.eclipse.jdt.debug.core.IJavaDebugTargetmayBeOutOfSynch in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetpublic org.eclipse.jdt.internal.debug.core.model.JDIThread findThread(com.sun.jdi.ThreadReference tr)
findThread in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget
public void breakpointRemoved(org.eclipse.debug.core.model.IBreakpoint breakpoint,
org.eclipse.core.resources.IMarkerDelta delta)
breakpointRemoved in interface org.eclipse.debug.core.IBreakpointListenerbreakpointRemoved in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetprotected void suspendThreads()
suspendThreads in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget
protected void resumeThreads()
throws org.eclipse.debug.core.DebugException
resumeThreads in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetorg.eclipse.debug.core.DebugException
public void disconnect()
throws org.eclipse.debug.core.DebugException
disconnect in interface org.eclipse.debug.core.model.IDisconnectdisconnect in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetorg.eclipse.debug.core.DebugException
public void terminate()
throws org.eclipse.debug.core.DebugException
terminate in interface org.eclipse.debug.core.model.ITerminateterminate in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetorg.eclipse.debug.core.DebugExceptionpublic void handleVMStart(com.sun.jdi.event.VMStartEvent event)
handleVMStart in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetprotected void initializeState()
initializeState in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget
public void suspend()
throws org.eclipse.debug.core.DebugException
suspend in interface org.eclipse.debug.core.model.ISuspendResumesuspend in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetorg.eclipse.debug.core.DebugExceptionpublic void prepareToSuspendByBreakpoint(org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint breakpoint)
prepareToSuspendByBreakpoint in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget
protected void cancelSuspendByBreakpoint(org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint breakpoint)
throws org.eclipse.debug.core.DebugException
cancelSuspendByBreakpoint in class org.eclipse.jdt.internal.debug.core.model.JDIDebugTargetorg.eclipse.debug.core.DebugExceptionpublic DroolsLineBreakpoint getDroolsBreakpoint(String source)
line at source then it takes the first line that is above the
specified line at the same file.
source - line -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||