class documentation

class EventsIterator(object):

View In Hierarchy

Iterator over stack events.

Warnings

Must not be directly constructed but retrieved through the StackFrame.descendant_events method.

Method __del__ Undocumented
Method __init__ Undocumented
Method __iter__ Undocumented
Method __next__ Undocumented
Method __repr__ Returns the "official" string representation of this instance.
Method __str__ Returns the nicely printable string representation of this instance.
Method peek Peeks the next event in the iterator, without advancing the iterator.
Method skip_children Skips the remaining events of the current frame.
Instance Variable _current Undocumented
Instance Variable _data_source Undocumented
Instance Variable _fetch_count Undocumented
Instance Variable _next_events Undocumented
Instance Variable _rvn_events_iterator_handle Undocumented
Instance Variable _trace Undocumented
def __del__(self):

Undocumented

def __init__(self, data_source, trace, rvn_events_iterator_handle, fetch_count):

Undocumented

Parameters
data_source:_DataSourceUndocumented
trace:_TraceUndocumented
rvn_events_iterator_handle:intUndocumented
fetch_count:intUndocumented
def __iter__(self):

Undocumented

Returns
EventsIteratorUndocumented
def __next__(self):

Undocumented

Returns
_Union[FrameStart, FrameEnd, StackEnter, StackLeave]Undocumented
def __repr__(self):

Returns the "official" string representation of this instance.

Returns
strUndocumented
def __str__(self):

Returns the nicely printable string representation of this instance.

Returns
strUndocumented
def peek(self):

Peeks the next event in the iterator, without advancing the iterator.

Returns None if calling next would result in StopIteration being thrown.

Returns
_Union[None, FrameStart, FrameEnd, StackEnter, StackLeave]Undocumented
def skip_children(self):

Skips the remaining events of the current frame.

This call only works if the iterator just returned a FrameStart, otherwise raises a RuntimeError.

The next call to next will return the FrameEnd of this frame, or raise StopIteration if it is not in the trace.

_current =

Undocumented

_data_source =

Undocumented

_fetch_count =

Undocumented

_next_events =

Undocumented

_rvn_events_iterator_handle =

Undocumented

_trace =

Undocumented