Frame

class pyto_runtime.Frame

A serialized frame from a pyto_runtime.Traceback.

property file_path: str

The file path.

property globals

A reference to the globals dictionary wrapped in a pyto_runtime.Object.

property index: int

The index in relation to its sibling frames.

property line

The contents of the line.

property lineno: int

The line number.

property locals

A reference to the locals dictionary wrapped in a pyto_runtime.Object.

property name

The name of the current function or namespace.