1 //===-- SWIG Interface for SBBreakpointLocation -----------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 namespace lldb { 11 12 %feature("docstring", 13 "Represents one unique instance (by address) of a logical breakpoint. 14 15 A breakpoint location is defined by the breakpoint that produces it, 16 and the address that resulted in this particular instantiation. 17 Each breakpoint location has its settable options. 18 19 SBBreakpoint contains SBBreakpointLocation(s). See docstring of SBBreakpoint 20 for retrieval of an SBBreakpointLocation from an SBBreakpoint." 21 ) SBBreakpointLocation; 22 class SBBreakpointLocation 23 { 24 public: 25 26 SBBreakpointLocation (); 27 28 SBBreakpointLocation (const lldb::SBBreakpointLocation &rhs); 29 30 ~SBBreakpointLocation (); 31 32 break_id_t 33 GetID (); 34 35 bool 36 IsValid() const; 37 38 lldb::SBAddress 39 GetAddress(); 40 41 lldb::addr_t 42 GetLoadAddress (); 43 44 void 45 SetEnabled(bool enabled); 46 47 bool 48 IsEnabled (); 49 50 uint32_t 51 GetIgnoreCount (); 52 53 void 54 SetIgnoreCount (uint32_t n); 55 56 %feature("docstring", " 57 //-------------------------------------------------------------------------- 58 /// The breakpoint location stops only if the condition expression evaluates 59 /// to true. 60 //-------------------------------------------------------------------------- 61 ") SetCondition; 62 void 63 SetCondition (const char *condition); 64 65 %feature("docstring", " 66 //------------------------------------------------------------------ 67 /// Get the condition expression for the breakpoint location. 68 //------------------------------------------------------------------ 69 ") GetCondition; 70 const char * 71 GetCondition (); 72 73 void 74 SetThreadID (lldb::tid_t sb_thread_id); 75 76 lldb::tid_t 77 GetThreadID (); 78 79 void 80 SetThreadIndex (uint32_t index); 81 82 uint32_t 83 GetThreadIndex() const; 84 85 void 86 SetThreadName (const char *thread_name); 87 88 const char * 89 GetThreadName () const; 90 91 void 92 SetQueueName (const char *queue_name); 93 94 const char * 95 GetQueueName () const; 96 97 bool 98 IsResolved (); 99 100 bool 101 GetDescription (lldb::SBStream &description, DescriptionLevel level); 102 103 SBBreakpoint 104 GetBreakpoint (); 105 }; 106 107 } // namespace lldb 108