Interface ICodeTraceFilter

All Superinterfaces:
ICodeTracer, IEventProcessor, IExecutionListener

public interface ICodeTraceFilter extends ICodeTracer, IEventProcessor, IExecutionListener
Extension of ICodeTracer performing pre-filtering before code gets to actual tracer.
  • Method Details

    • setDebugger

      void setDebugger(PythonDebugger debugger)
      Sets the PythonDebugger to be used by the code trace filter to perform callbacks.
      Parameters:
      debugger - PythonDebugger for callbacks.
    • setBreakpoint

      void setBreakpoint(PythonBreakpoint breakpoint)
      Sets a breakpoint in the trace filter.
      Parameters:
      breakpoint - Breakpoint to be set.
    • removeBreakpoint

      void removeBreakpoint(PythonBreakpoint breakpoint)
      Removes a breakpoint from the trace filter.
      Parameters:
      breakpoint - Breakpoint to be removed.
    • resume

      void resume(int resumeType)
      Resume execution after filter has notified us that execution might need to be stopped.
      Parameters:
      resumeType - Resume type for execution continuation.
    • suspend

      void suspend()
      Suspend execution after filter has notified us that execution might need to be stopped.
    • getCurrentFrame

      IPyFrame getCurrentFrame()
      Get the current python frame.
      Returns:
      current python frame
    • getExceptionFrame

      IPyFrame getExceptionFrame()
      Get the python frame of the last thrown exception.
      Returns:
      last exception python frame