Go to the documentation of this file.
9 #ifndef LLDB_BREAKPOINT_BREAKPOINTLOCATIONCOLLECTION_H
10 #define LLDB_BREAKPOINT_BREAKPOINTLOCATIONCOLLECTION_H
33 void Add(
const lldb::BreakpointLocationSP &bp_loc_sp);
75 const lldb::BreakpointLocationSP
87 lldb::BreakpointLocationSP
GetByIndex(
size_t i);
98 const lldb::BreakpointLocationSP
GetByIndex(
size_t i)
const;
160 collection::const_iterator
178 #endif // LLDB_BREAKPOINT_BREAKPOINTLOCATIONCOLLECTION_H
lldb::BreakpointLocationSP GetByIndex(size_t i)
Returns a shared pointer to the breakpoint location with index i.
lldb::BreakpointLocationSP FindByIDPair(lldb::break_id_t break_id, lldb::break_id_t break_loc_id)
Returns a shared pointer to the breakpoint location with id breakID.
bool IsInternal() const
Tell whether ALL the breakpoints in the location collection are internal.
General Outline: When we hit a breakpoint we need to package up whatever information is needed to eva...
~BreakpointLocationCollection()
E vector_adapter(I &iter)
BreakpointLocationCollectionIterable BreakpointLocations()
bool ValidForThisThread(Thread &thread)
Check whether this collection of breakpoint locations have any thread specifiers, and if yes,...
collection m_break_loc_collection
collection::iterator GetIDPairIterator(lldb::break_id_t break_id, lldb::break_id_t break_loc_id)
std::mutex m_collection_mutex
bool ShouldStop(StoppointCallbackContext *context)
Enquires of all the breakpoint locations in this list whether we should stop at a hit at breakID.
void GetDescription(Stream *s, lldb::DescriptionLevel level)
Print a description of the breakpoint locations in this list to the stream s.
AdaptedIterable< collection, lldb::BreakpointLocationSP, vector_adapter > BreakpointLocationCollectionIterable
BreakpointLocationCollection()
collection::const_iterator GetIDPairConstIterator(lldb::break_id_t break_id, lldb::break_id_t break_loc_id) const
void Add(const lldb::BreakpointLocationSP &bp_loc_sp)
Add the breakpoint bp_loc_sp to the list.
A class that represents a running process on the host machine.
size_t GetSize() const
Returns the number of elements in this breakpoint location list.
std::vector< lldb::BreakpointLocationSP > collection
bool Remove(lldb::break_id_t break_id, lldb::break_id_t break_loc_id)
Removes the breakpoint location given by breakID from this list.
BreakpointLocationCollection & operator=(const BreakpointLocationCollection &rhs)
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.