1 %feature("docstring", 2 "Represents one unique instance (by address) of a logical breakpoint. 3 4 A breakpoint location is defined by the breakpoint that produces it, 5 and the address that resulted in this particular instantiation. 6 Each breakpoint location has its settable options. 7 8 :py:class:`SBBreakpoint` contains SBBreakpointLocation(s). See docstring of SBBreakpoint 9 for retrieval of an SBBreakpointLocation from an SBBreakpoint." 10 ) lldb::SBBreakpointLocation; 11 12 %feature("docstring", " 13 The breakpoint location stops only if the condition expression evaluates 14 to true.") lldb::SBBreakpointLocation::SetCondition; 15 16 %feature("docstring", " 17 Get the condition expression for the breakpoint location." 18 ) lldb::SBBreakpointLocation::GetCondition; 19 20 %feature("docstring", " 21 Set the callback to the given Python function name. 22 The function takes three arguments (frame, bp_loc, internal_dict)." 23 ) lldb::SBBreakpointLocation::SetScriptCallbackFunction; 24 25 %feature("docstring", " 26 Set the name of the script function to be called when the breakpoint is hit. 27 To use this variant, the function should take (frame, bp_loc, extra_args, internal_dict) and 28 when the breakpoint is hit the extra_args will be passed to the callback function." 29 ) lldb::SBBreakpointLocation::SetScriptCallbackFunction; 30 31 %feature("docstring", " 32 Provide the body for the script function to be called when the breakpoint location is hit. 33 The body will be wrapped in a function, which be passed two arguments: 34 'frame' - which holds the bottom-most SBFrame of the thread that hit the breakpoint 35 'bpno' - which is the SBBreakpointLocation to which the callback was attached. 36 37 The error parameter is currently ignored, but will at some point hold the Python 38 compilation diagnostics. 39 Returns true if the body compiles successfully, false if not." 40 ) lldb::SBBreakpointLocation::SetScriptCallbackBody; 41