Class Py4jDebugger
java.lang.Object
org.eclipse.ease.debugging.AbstractEaseDebugger
org.eclipse.ease.lang.python.debugger.PythonDebugger
org.eclipse.ease.lang.python.py4j.internal.Py4jDebugger
- All Implemented Interfaces:
IEventProcessor
,IExecutionListener
public class Py4jDebugger extends PythonDebugger
Extension of
PythonDebugger
with additional ICodeTraceFilter
to lower amount of trace dispatches.-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.ease.lang.python.debugger.PythonDebugger
PythonDebugger.PythonDebugFrame
Nested classes/interfaces inherited from class org.eclipse.ease.debugging.AbstractEaseDebugger
AbstractEaseDebugger.ThreadState
-
Field Summary
Fields inherited from class org.eclipse.ease.lang.python.debugger.PythonDebugger
PYTHON_DEBUGGER_VARIABLE
Fields inherited from interface org.eclipse.ease.IExecutionListener
ENGINE_END, ENGINE_START, SCRIPT_END, SCRIPT_INJECTION_END, SCRIPT_INJECTION_START, SCRIPT_START
-
Constructor Summary
Constructors Constructor Description Py4jDebugger(IDebugEngine engine, boolean showDynamicCode)
-
Method Summary
Modifier and Type Method Description Object
execute(Script script)
Runs the givenScript
using theICodeTracer
.List<PythonBreakpoint>
getBreakpoints(String filename)
Returns list of all breakpoints in given file.void
setTraceFilter(ICodeTraceFilter traceFilter)
Sets extended code tracer doing pre-filtering of dispatch calls..Methods inherited from class org.eclipse.ease.lang.python.debugger.PythonDebugger
getScriptRegistry, setCodeTracer, traceDispatch
Methods inherited from class org.eclipse.ease.debugging.AbstractEaseDebugger
fireDispatchEvent, getExceptionStacktrace, getExceptionStacktrace, getStacktrace, handleEvent, isTrackedScript, notify, setDispatcher, setScriptRegistry
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.ease.debugging.dispatcher.IEventProcessor
handleEvent, setDispatcher
Methods inherited from interface org.eclipse.ease.IExecutionListener
notify
-
Constructor Details
-
Py4jDebugger
- See Also:
PythonDebugger(IDebugEngine, boolean)
-
-
Method Details
-
setTraceFilter
Sets extended code tracer doing pre-filtering of dispatch calls..- Parameters:
traceFilter
- Extended code tracer.
-
getBreakpoints
Returns list of all breakpoints in given file.- Parameters:
filename
- Filename to get all breakpoints for.- Returns:
- List of breakpoints in given file.
-
execute
Description copied from class:PythonDebugger
- Overrides:
execute
in classPythonDebugger
- Parameters:
script
- Script to be executed.- Returns:
- Always
null
-