LLDB API Documentation

SBBreakpointLocation.h
Go to the documentation of this file.
1 //===-- SBBreakpointLocation.h ----------------------------------*- 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 #ifndef LLDB_SBBreakpointLocation_h_
11 #define LLDB_SBBreakpointLocation_h_
12 
13 #include "lldb/API/SBBreakpoint.h"
14 #include "lldb/API/SBDefines.h"
15 
16 namespace lldb {
17 
18 class LLDB_API SBBreakpointLocation {
19 public:
21 
23 
25 
27  operator=(const lldb::SBBreakpointLocation &rhs);
28 
29  break_id_t GetID();
30 
31  bool IsValid() const;
32 
33  lldb::SBAddress GetAddress();
34 
35  lldb::addr_t GetLoadAddress();
36 
37  void SetEnabled(bool enabled);
38 
39  bool IsEnabled();
40 
41  uint32_t GetIgnoreCount();
42 
43  void SetIgnoreCount(uint32_t n);
44 
45  void SetCondition(const char *condition);
46 
47  const char *GetCondition();
48 
49  void SetScriptCallbackFunction(const char *callback_function_name);
50 
51  SBError SetScriptCallbackBody(const char *script_body_text);
52 
53  void SetThreadID(lldb::tid_t sb_thread_id);
54 
55  lldb::tid_t GetThreadID();
56 
57  void SetThreadIndex(uint32_t index);
58 
59  uint32_t GetThreadIndex() const;
60 
61  void SetThreadName(const char *thread_name);
62 
63  const char *GetThreadName() const;
64 
65  void SetQueueName(const char *queue_name);
66 
67  const char *GetQueueName() const;
68 
69  bool IsResolved();
70 
71  bool GetDescription(lldb::SBStream &description, DescriptionLevel level);
72 
73  SBBreakpoint GetBreakpoint();
74 
75  SBBreakpointLocation(const lldb::BreakpointLocationSP &break_loc_sp);
76 
77 private:
78  friend class SBBreakpoint;
79 
80  void SetLocation(const lldb::BreakpointLocationSP &break_loc_sp);
81 
82  lldb::BreakpointLocationSP m_opaque_sp;
83 };
84 
85 } // namespace lldb
86 
87 #endif // LLDB_SBBreakpointLocation_h_
class LLDB_API SBBreakpointLocation
Definition: SBDefines.h:34