SBListener#

class lldb.SBListener(*args)#

API clients can register its own listener to debugger events.

See also SBEvent for example usage of creating and adding a listener.

Methods Summary

AddEvent(SBListener self, SBEvent event)

Clear(SBListener self)

GetNextEvent(SBListener self, SBEvent sb_event)

GetNextEventForBroadcaster(SBListener self, ...)

GetNextEventForBroadcasterWithType(...)

HandleBroadcastEvent(SBListener self, ...)

IsValid(SBListener self)

PeekAtNextEvent(SBListener self, ...)

PeekAtNextEventForBroadcaster(...)

PeekAtNextEventForBroadcasterWithType(...)

StartListeningForEventClass(SBListener self, ...)

StartListeningForEvents(SBListener self, ...)

StopListeningForEventClass(SBListener self, ...)

StopListeningForEvents(SBListener self, ...)

WaitForEvent(SBListener self, ...)

WaitForEventForBroadcaster(SBListener self, ...)

WaitForEventForBroadcasterWithType(...)

Methods Documentation

AddEvent(SBListener self, SBEvent event)#
Clear(SBListener self)#
GetNextEvent(SBListener self, SBEvent sb_event) bool#
GetNextEventForBroadcaster(SBListener self, SBBroadcaster broadcaster, SBEvent sb_event) bool#
GetNextEventForBroadcasterWithType(SBListener self, SBBroadcaster broadcaster, uint32_t event_type_mask, SBEvent sb_event) bool#
HandleBroadcastEvent(SBListener self, SBEvent event) bool#
IsValid(SBListener self) bool#
PeekAtNextEvent(SBListener self, SBEvent sb_event) bool#
PeekAtNextEventForBroadcaster(SBListener self, SBBroadcaster broadcaster, SBEvent sb_event) bool#
PeekAtNextEventForBroadcasterWithType(SBListener self, SBBroadcaster broadcaster, uint32_t event_type_mask, SBEvent sb_event) bool#
StartListeningForEventClass(SBListener self, SBDebugger debugger, char const * broadcaster_class, uint32_t event_mask) uint32_t#
StartListeningForEvents(SBListener self, SBBroadcaster broadcaster, uint32_t event_mask) uint32_t#
StopListeningForEventClass(SBListener self, SBDebugger debugger, char const * broadcaster_class, uint32_t event_mask) bool#
StopListeningForEvents(SBListener self, SBBroadcaster broadcaster, uint32_t event_mask) bool#
WaitForEvent(SBListener self, uint32_t num_seconds, SBEvent event) bool#
WaitForEventForBroadcaster(SBListener self, uint32_t num_seconds, SBBroadcaster broadcaster, SBEvent sb_event) bool#
WaitForEventForBroadcasterWithType(SBListener self, uint32_t num_seconds, SBBroadcaster broadcaster, uint32_t event_type_mask, SBEvent sb_event) bool#