9#ifndef LLDB_API_SBBREAKPOINT_H
10#define LLDB_API_SBBREAKPOINT_H
17class ScriptInterpreter;
44 explicit operator bool()
const;
48 void ClearAllBreakpointSites();
60 void SetEnabled(
bool enable);
64 void SetOneShot(
bool one_shot);
66 bool IsOneShot()
const;
70 uint32_t GetHitCount()
const;
72 void SetIgnoreCount(uint32_t count);
74 uint32_t GetIgnoreCount()
const;
76 void SetCondition(
const char *condition);
78 const char *GetCondition();
80 void SetAutoContinue(
bool auto_continue);
82 bool GetAutoContinue();
88 void SetThreadIndex(uint32_t index);
90 uint32_t GetThreadIndex()
const;
92 void SetThreadName(
const char *thread_name);
94 const char *GetThreadName()
const;
96 void SetQueueName(
const char *queue_name);
98 const char *GetQueueName()
const;
101 void SetCallback(SBBreakpointHitCallback callback,
void *baton);
104 void SetScriptCallbackFunction(
const char *callback_function_name);
106 SBError SetScriptCallbackFunction(
const char *callback_function_name,
113 SBError SetScriptCallbackBody(
const char *script_body_text);
115 bool AddName(
const char *new_name);
117 SBError AddNameWithErrorHandling(
const char *new_name);
119 void RemoveName(
const char *name_to_remove);
121 bool MatchesName(
const char *name);
125 size_t GetNumResolvedLocations()
const;
127 size_t GetNumLocations()
const;
131 bool GetDescription(
lldb::SBStream &description,
bool include_locations);
133 static bool EventIsBreakpointEvent(
const lldb::SBEvent &event);
135 static lldb::BreakpointEventType
141 GetBreakpointLocationAtIndexFromEvent(
const lldb::SBEvent &event,
145 GetNumBreakpointLocationsFromEvent(
const lldb::SBEvent &event_sp);
147 bool IsHardware()
const;
162 friend class lldb_private::python::SWIGBridge;
177 size_t GetSize()
const;
bool operator!=(const DWARFBaseDIE &lhs, const DWARFBaseDIE &rhs)
bool operator==(const DWARFBaseDIE &lhs, const DWARFBaseDIE &rhs)
std::shared_ptr< SBBreakpointListImpl > m_opaque_sp
lldb::BreakpointWP m_opaque_wp
A class that represents a running process on the host machine.
std::weak_ptr< lldb_private::Breakpoint > BreakpointWP
std::shared_ptr< lldb_private::Breakpoint > BreakpointSP