SBWatchpoint

class lldb.SBWatchpoint(*args)

Represents an instance of watchpoint for a specific target program.

A watchpoint is determined by the address and the byte size that resulted in this particular instantiation. Each watchpoint has its settable options.

See also SBTarget.watchpoint_iter() for example usage of iterating through the watchpoints of the target.

Methods Summary

EventIsWatchpointEvent(SBEvent event)
GetCondition(SBWatchpoint self) Get the condition expression for the watchpoint.
GetDescription(SBWatchpoint self, …)
GetError(SBWatchpoint self)
GetHardwareIndex(SBWatchpoint self) With -1 representing an invalid hardware index.
GetHitCount(SBWatchpoint self)
GetID(SBWatchpoint self)
GetIgnoreCount(SBWatchpoint self)
GetWatchAddress(SBWatchpoint self)
GetWatchSize(SBWatchpoint self)
GetWatchpointEventTypeFromEvent(SBEvent event)
GetWatchpointFromEvent(SBEvent event)
IsEnabled(SBWatchpoint self)
IsValid(SBWatchpoint self)
SetCondition(SBWatchpoint self, …) The watchpoint stops only if the condition expression evaluates to true.
SetEnabled(SBWatchpoint self, bool enabled)
SetIgnoreCount(SBWatchpoint self, uint32_t n)

Methods Documentation

static EventIsWatchpointEvent(SBEvent event) → bool
GetCondition(SBWatchpoint self) → char const *

Get the condition expression for the watchpoint.

GetDescription(SBWatchpoint self, SBStream description, lldb::DescriptionLevel level) → bool
GetError(SBWatchpoint self) → SBError
GetHardwareIndex(SBWatchpoint self) → int32_t

With -1 representing an invalid hardware index.

GetHitCount(SBWatchpoint self) → uint32_t
GetID(SBWatchpoint self) → lldb::watch_id_t
GetIgnoreCount(SBWatchpoint self) → uint32_t
GetWatchAddress(SBWatchpoint self) → lldb::addr_t
GetWatchSize(SBWatchpoint self) → size_t
static GetWatchpointEventTypeFromEvent(SBEvent event) → lldb::WatchpointEventType
static GetWatchpointFromEvent(SBEvent event) → SBWatchpoint
IsEnabled(SBWatchpoint self) → bool
IsValid(SBWatchpoint self) → bool
SetCondition(SBWatchpoint self, char const * condition)

The watchpoint stops only if the condition expression evaluates to true.

SetEnabled(SBWatchpoint self, bool enabled)
SetIgnoreCount(SBWatchpoint self, uint32_t n)