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

Class SBBreakpointLocation

source code


Represents one unique instance (by address) of a logical breakpoint.

A breakpoint location is defined by the breakpoint that produces it, and the address that resulted in this particular instantiation. Each breakpoint location has its settable options.

SBBreakpoint contains SBBreakpointLocation(s). See docstring of SBBreakpoint for retrieval of an SBBreakpointLocation from an SBBreakpoint.

Instance Methods [hide private]
 
__repr__(self) source code
 
__init__(self, *args)
__init__(lldb::SBBreakpointLocation self) -> SBBreakpointLocation __init__(lldb::SBBreakpointLocation self, SBBreakpointLocation rhs) -> SBBreakpointLocation
source code
 
GetID(self)
GetID(SBBreakpointLocation self) -> lldb::break_id_t
source code
 
IsValid(self)
IsValid(SBBreakpointLocation self) -> bool
source code
 
__nonzero__(self) source code
 
__bool__(self) source code
 
GetAddress(self)
GetAddress(SBBreakpointLocation self) -> SBAddress
source code
 
GetLoadAddress(self)
GetLoadAddress(SBBreakpointLocation self) -> lldb::addr_t
source code
 
SetEnabled(self, *args)
SetEnabled(SBBreakpointLocation self, bool enabled)
source code
 
IsEnabled(self)
IsEnabled(SBBreakpointLocation self) -> bool
source code
 
GetHitCount(self)
GetHitCount(SBBreakpointLocation self) -> uint32_t
source code
 
GetIgnoreCount(self)
GetIgnoreCount(SBBreakpointLocation self) -> uint32_t
source code
 
SetIgnoreCount(self, *args)
SetIgnoreCount(SBBreakpointLocation self, uint32_t n)
source code
 
SetCondition(self, *args)
SetCondition(SBBreakpointLocation self, char const * condition)
source code
 
GetCondition(self)
GetCondition(SBBreakpointLocation self) -> char const *
source code
 
GetAutoContinue(self)
GetAutoContinue(SBBreakpointLocation self) -> bool
source code
 
SetAutoContinue(self, *args)
SetAutoContinue(SBBreakpointLocation self, bool auto_continue)
source code
 
SetScriptCallbackFunction(self, *args)
SetScriptCallbackFunction(SBBreakpointLocation self, char const * callback_function_name)
source code
 
SetScriptCallbackBody(self, *args)
SetScriptCallbackBody(SBBreakpointLocation self, char const * script_body_text) -> SBError
source code
 
SetCommandLineCommands(self, *args)
SetCommandLineCommands(SBBreakpointLocation self, SBStringList commands)
source code
 
GetCommandLineCommands(self, *args)
GetCommandLineCommands(SBBreakpointLocation self, SBStringList commands) -> bool
source code
 
SetThreadID(self, *args)
SetThreadID(SBBreakpointLocation self, lldb::tid_t sb_thread_id)
source code
 
GetThreadID(self)
GetThreadID(SBBreakpointLocation self) -> lldb::tid_t
source code
 
SetThreadIndex(self, *args)
SetThreadIndex(SBBreakpointLocation self, uint32_t index)
source code
 
GetThreadIndex(self)
GetThreadIndex(SBBreakpointLocation self) -> uint32_t
source code
 
SetThreadName(self, *args)
SetThreadName(SBBreakpointLocation self, char const * thread_name)
source code
 
GetThreadName(self)
GetThreadName(SBBreakpointLocation self) -> char const *
source code
 
SetQueueName(self, *args)
SetQueueName(SBBreakpointLocation self, char const * queue_name)
source code
 
GetQueueName(self)
GetQueueName(SBBreakpointLocation self) -> char const *
source code
 
IsResolved(self)
IsResolved(SBBreakpointLocation self) -> bool
source code
 
GetDescription(self, *args)
GetDescription(SBBreakpointLocation self, SBStream description, lldb::DescriptionLevel level) -> bool
source code
 
GetBreakpoint(self)
GetBreakpoint(SBBreakpointLocation self) -> SBBreakpoint
source code
 
__str__(self)
__str__(SBBreakpointLocation 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_SBBreakpointLocation
  __del__ = lambda self:
Method Details [hide private]

SetCondition(self, *args)

source code 

SetCondition(SBBreakpointLocation self, char const * condition)

The breakpoint location stops only if the condition expression evaluates to true.

GetCondition(self)

source code 

GetCondition(SBBreakpointLocation self) -> char const *

Get the condition expression for the breakpoint location.

SetScriptCallbackFunction(self, *args)

source code 

SetScriptCallbackFunction(SBBreakpointLocation self, char const * callback_function_name)

Set the callback to the given Python function name.

SetScriptCallbackBody(self, *args)

source code 

SetScriptCallbackBody(SBBreakpointLocation self, char const * script_body_text) -> SBError

Provide the body for the script function to be called when the breakpoint location is hit. The body will be wrapped in a function, which be passed two arguments: 'frame' - which holds the bottom-most SBFrame of the thread that hit the breakpoint 'bpno' - which is the SBBreakpointLocation to which the callback was attached.

The error parameter is currently ignored, but will at some point hold the Python compilation diagnostics. Returns true if the body compiles successfully, false if not.