1 //===-- SBBreakpointLocation.h ----------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_SBBreakpointLocation_h_
11 #define LLDB_SBBreakpointLocation_h_
13 #include "lldb/API/SBDefines.h"
14 #include "lldb/API/SBBreakpoint.h"
18 class LLDB_API SBBreakpointLocation
22 SBBreakpointLocation ();
24 SBBreakpointLocation (const lldb::SBBreakpointLocation &rhs);
26 ~SBBreakpointLocation ();
28 const lldb::SBBreakpointLocation &
29 operator = (const lldb::SBBreakpointLocation &rhs);
44 SetEnabled(bool enabled);
53 SetIgnoreCount (uint32_t n);
56 SetCondition (const char *condition);
62 SetScriptCallbackFunction (const char *callback_function_name);
65 SetScriptCallbackBody (const char *script_body_text);
68 SetThreadID (lldb::tid_t sb_thread_id);
74 SetThreadIndex (uint32_t index);
77 GetThreadIndex() const;
80 SetThreadName (const char *thread_name);
83 GetThreadName () const;
86 SetQueueName (const char *queue_name);
89 GetQueueName () const;
95 GetDescription (lldb::SBStream &description, DescriptionLevel level);
100 SBBreakpointLocation (const lldb::BreakpointLocationSP &break_loc_sp);
103 friend class SBBreakpoint;
106 SetLocation (const lldb::BreakpointLocationSP &break_loc_sp);
108 lldb::BreakpointLocationSP m_opaque_sp;
114 #endif // LLDB_SBBreakpointLocation_h_