TraceFunction (Jython API documentation)
Date: 2022-09-10

org.python.core

## Class TraceFunction

- java.lang.Object
- - org.python.core.TraceFunction

-     public abstract class TraceFunction
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TraceFunction()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract TraceFunction` | `traceCall(PyFrame frame)`
    `abstract TraceFunction` | `traceException(PyFrame frame, PyException exc)`
    `abstract TraceFunction` | `traceLine(PyFrame frame, int line)`
    `abstract TraceFunction` | `traceReturn(PyFrame frame, PyObject ret)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TraceFunction

          public TraceFunction()

  - ### Method Detail

    - #### traceCall

          public abstract TraceFunction traceCall(PyFrame frame)

    - #### traceReturn

          public abstract TraceFunction traceReturn(PyFrame frame,
                                                    PyObject ret)

    - #### traceLine

          public abstract TraceFunction traceLine(PyFrame frame,
                                                  int line)

    - #### traceException

          public abstract TraceFunction traceException(PyFrame frame,
                                                       PyException exc)

Jython homepage