SBBreakpointLocation#

class lldb.SBBreakpointLocation(*args)#

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.

Methods Summary

GetAddress(SBBreakpointLocation self)

GetAutoContinue(SBBreakpointLocation self)

GetBreakpoint(SBBreakpointLocation self)

GetCommandLineCommands(...)

GetCondition(SBBreakpointLocation self)

Get the condition expression for the breakpoint location.

GetDescription(SBBreakpointLocation self, ...)

GetHitCount(SBBreakpointLocation self)

GetID(SBBreakpointLocation self)

GetIgnoreCount(SBBreakpointLocation self)

GetLoadAddress(SBBreakpointLocation self)

GetQueueName(SBBreakpointLocation self)

GetThreadID(SBBreakpointLocation self)

GetThreadIndex(SBBreakpointLocation self)

GetThreadName(SBBreakpointLocation self)

IsEnabled(SBBreakpointLocation self)

IsResolved(SBBreakpointLocation self)

IsValid(SBBreakpointLocation self)

SetAutoContinue(SBBreakpointLocation self, ...)

SetCommandLineCommands(...)

SetCondition(SBBreakpointLocation self, ...)

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

SetEnabled(SBBreakpointLocation self, ...)

SetIgnoreCount(SBBreakpointLocation self, ...)

SetQueueName(SBBreakpointLocation self, ...)

SetScriptCallbackBody(...)

Provide the body for the script function to be called when the breakpoint location is hit.

SetScriptCallbackFunction()

Set the name of the script function to be called when the breakpoint is hit.

SetThreadID(SBBreakpointLocation self, lldb)

SetThreadIndex(SBBreakpointLocation self, ...)

SetThreadName(SBBreakpointLocation self, ...)

Methods Documentation

GetAddress(SBBreakpointLocation self) SBAddress#
GetAutoContinue(SBBreakpointLocation self) bool#
GetBreakpoint(SBBreakpointLocation self) SBBreakpoint#
GetCommandLineCommands(SBBreakpointLocation self, SBStringList commands) bool#
GetCondition(SBBreakpointLocation self) char const *#

Get the condition expression for the breakpoint location.

GetDescription(SBBreakpointLocation self, SBStream description, lldb::DescriptionLevel level) bool#
GetHitCount(SBBreakpointLocation self) uint32_t#
GetID(SBBreakpointLocation self) lldb::break_id_t#
GetIgnoreCount(SBBreakpointLocation self) uint32_t#
GetLoadAddress(SBBreakpointLocation self) lldb::addr_t#
GetQueueName(SBBreakpointLocation self) char const *#
GetThreadID(SBBreakpointLocation self) lldb::tid_t#
GetThreadIndex(SBBreakpointLocation self) uint32_t#
GetThreadName(SBBreakpointLocation self) char const *#
IsEnabled(SBBreakpointLocation self) bool#
IsResolved(SBBreakpointLocation self) bool#
IsValid(SBBreakpointLocation self) bool#
SetAutoContinue(SBBreakpointLocation self, bool auto_continue)#
SetCommandLineCommands(SBBreakpointLocation self, SBStringList commands)#
SetCondition(SBBreakpointLocation self, char const * condition)#

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

SetEnabled(SBBreakpointLocation self, bool enabled)#
SetIgnoreCount(SBBreakpointLocation self, uint32_t n)#
SetQueueName(SBBreakpointLocation self, char const * queue_name)#
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.

SetScriptCallbackFunction(SBBreakpointLocation self, char const * callback_function_name)#
SetScriptCallbackFunction(SBBreakpointLocation self, char const * callback_function_name, SBStructuredData extra_args) SBError

Set the name of the script function to be called when the breakpoint is hit. To use this variant, the function should take (frame, bp_loc, extra_args, internal_dict) and when the breakpoint is hit the extra_args will be passed to the callback function.

SetThreadID(SBBreakpointLocation self, lldb::tid_t sb_thread_id)#
SetThreadIndex(SBBreakpointLocation self, uint32_t index)#
SetThreadName(SBBreakpointLocation self, char const * thread_name)#