SBWatchpointOptions#

class lldb.SBWatchpointOptions(*args)#

A container for options to use when creating watchpoints.

Methods Summary

GetWatchpointTypeRead(SBWatchpointOptions self)

Gets whether the watchpoint should stop on read accesses.

GetWatchpointTypeWrite(SBWatchpointOptions self)

Gets whether the watchpoint should stop on write accesses, returning WatchpointWriteType to indicate the type of write watching that is enabled, or eWatchpointWriteTypeDisabled.

SetWatchpointTypeRead(...)

Sets whether the watchpoint should stop on read accesses.

SetWatchpointTypeWrite(...)

Sets whether the watchpoint should stop on write accesses.

Methods Documentation

GetWatchpointTypeRead(SBWatchpointOptions self) bool#

Gets whether the watchpoint should stop on read accesses.

GetWatchpointTypeWrite(SBWatchpointOptions self) lldb::WatchpointWriteType#

Gets whether the watchpoint should stop on write accesses, returning WatchpointWriteType to indicate the type of write watching that is enabled, or eWatchpointWriteTypeDisabled.

SetWatchpointTypeRead(SBWatchpointOptions self, bool read)#

Sets whether the watchpoint should stop on read accesses.

SetWatchpointTypeWrite(SBWatchpointOptions self, lldb::WatchpointWriteType write_type)#

Sets whether the watchpoint should stop on write accesses. eWatchpointWriteTypeOnModify is the most commonly useful mode, where lldb will stop when the watched value has changed. eWatchpointWriteTypeAlways will stop on any write to the watched region, even if it’s the value is the same.