Package lldb :: Class SBWatchpoint |
[hide private]
[frames] | no frames]

# Class SBWatchpoint

source code

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.

Instance Methods | [hide private]
__setattr__(self, name, value) x.__setattr__('name', value) <==> x.name = value | source code
__getattr__(self, name) | source code
__repr__(self) repr(x) | source code
__eq__(self, other) | source code
__ne__(self, other) | source code
__init__(self, *args) __init__(lldb::SBWatchpoint self) -> SBWatchpoint __init__(lldb::SBWatchpoint self, SBWatchpoint rhs) -> SBWatchpoint | source code
__swig_destroy__(...) delete_SBWatchpoint(SBWatchpoint self) |
__del__(self) | source code
__nonzero__(self) | source code
IsValid(self) IsValid(SBWatchpoint self) -> bool | source code
GetError(self) GetError(SBWatchpoint self) -> SBError | source code
GetID(self) GetID(SBWatchpoint self) -> lldb::watch_id_t | source code
GetHardwareIndex(self) GetHardwareIndex(SBWatchpoint self) -> int32_t | source code
GetWatchAddress(self) GetWatchAddress(SBWatchpoint self) -> lldb::addr_t | source code
GetWatchSize(self) GetWatchSize(SBWatchpoint self) -> size_t | source code
SetEnabled(self, *args) SetEnabled(SBWatchpoint self, bool enabled) | source code
IsEnabled(self) IsEnabled(SBWatchpoint self) -> bool | source code
GetHitCount(self) GetHitCount(SBWatchpoint self) -> uint32_t | source code
GetIgnoreCount(self) GetIgnoreCount(SBWatchpoint self) -> uint32_t | source code
SetIgnoreCount(self, *args) SetIgnoreCount(SBWatchpoint self, uint32_t n) | source code
GetCondition(self) GetCondition(SBWatchpoint self) -> str const * | source code
SetCondition(self, *args) SetCondition(SBWatchpoint self, str const * condition) | source code
GetDescription(self, *args) GetDescription(SBWatchpoint self, SBStream description, lldb::DescriptionLevel level) -> bool | source code
__str__(self) __str__(SBWatchpoint self) -> PyObject * | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__sizeof__`, `__subclasshook__`

Static Methods | [hide private]
EventIsWatchpointEvent(*args) EventIsWatchpointEvent(SBEvent event) -> bool | source code
GetWatchpointEventTypeFromEvent(*args) GetWatchpointEventTypeFromEvent(SBEvent event) -> lldb::WatchpointEventType | source code
GetWatchpointFromEvent(*args) GetWatchpointFromEvent(SBEvent event) -> SBWatchpoint | source code

Class Variables | [hide private]
| __swig_setmethods__ = ``{``}``
| __swig_getmethods__ = `{}`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __setattr__(self, name, value) | source code
x.__setattr__('name', value) <==> x.name = value Overrides: object.__setattr__ (inherited documentation)

### __repr__(self) (Representation operator) | source code
repr(x) Overrides: object.__repr__ (inherited documentation)

### __init__(self, *args) (Constructor) | source code
__init__(lldb::SBWatchpoint self) -> SBWatchpoint __init__(lldb::SBWatchpoint self, SBWatchpoint rhs) -> SBWatchpoint Overrides: object.__init__

### GetHardwareIndex(self) | source code
GetHardwareIndex(SBWatchpoint self) -> int32_t With -1 representing an invalid hardware index.

### GetCondition(self) | source code
GetCondition(SBWatchpoint self) -> str const * Get the condition expression for the watchpoint.

### SetCondition(self, *args) | source code
SetCondition(SBWatchpoint self, str const * condition) The watchpoint stops only if the condition expression evaluates to true.

### __str__(self) (Informal representation operator) | source code
__str__(SBWatchpoint self) -> PyObject * Overrides: object.__str__