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]
 
__repr__(self) source code
 
__init__(self, *args)
__init__(lldb::SBWatchpoint self) -> SBWatchpoint __init__(lldb::SBWatchpoint self, SBWatchpoint rhs) -> SBWatchpoint
source code
 
IsValid(self)
IsValid(SBWatchpoint self) -> bool
source code
 
__nonzero__(self) source code
 
__bool__(self) source code
 
__eq__(self, *args)
__eq__(SBWatchpoint self, SBWatchpoint rhs) -> bool
source code
 
__ne__(self, *args)
__ne__(SBWatchpoint self, SBWatchpoint rhs) -> 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) -> char const *
source code
 
SetCondition(self, *args)
SetCondition(SBWatchpoint self, char const * condition)
source code
 
GetDescription(self, *args)
GetDescription(SBWatchpoint self, SBStream description, lldb::DescriptionLevel level) -> bool
source code
 
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
 
__str__(self)
__str__(SBWatchpoint self) -> PyObject *
source code
Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  __swig_destroy__ = _lldb.delete_SBWatchpoint
  __del__ = lambda self:
Method Details [hide private]

GetHardwareIndex(self)

source code 

GetHardwareIndex(SBWatchpoint self) -> int32_t

With -1 representing an invalid hardware index.

GetCondition(self)

source code 

GetCondition(SBWatchpoint self) -> char const *

Get the condition expression for the watchpoint.

SetCondition(self, *args)

source code 

SetCondition(SBWatchpoint self, char const * condition)

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