Home | History | Annotate | Download | only in Breakpoint

Lines Matching refs:Breakpoint

1 //===-- Breakpoint.cpp ------------------------------------------*- C++ -*-===//
17 #include "lldb/Breakpoint/Breakpoint.h"
18 #include "lldb/Breakpoint/BreakpointLocation.h"
19 #include "lldb/Breakpoint/BreakpointLocationCollection.h"
20 #include "lldb/Breakpoint/BreakpointResolver.h"
21 #include "lldb/Breakpoint/BreakpointResolverFileLine.h"
39 Breakpoint::GetEventIdentifier ()
41 static ConstString g_identifier("event-identifier.breakpoint.changed");
46 // Breakpoint constructor
48 Breakpoint::Breakpoint(Target &target, SearchFilterSP &filter_sp, BreakpointResolverSP &resolver_sp) :
62 Breakpoint::~Breakpoint()
67 Breakpoint::IsInternal () const
75 Breakpoint::GetTarget ()
81 Breakpoint::GetTarget () const
87 Breakpoint::AddLocation (const Address &addr, bool *new_location)
93 Breakpoint::FindLocationByAddress (const Address &addr)
99 Breakpoint::FindLocationIDByAddress (const Address &addr)
105 Breakpoint::FindLocationByID (break_id_t bp_loc_id)
111 Breakpoint::GetLocationAtIndex (size_t index)
118 // the breakpoint vs. its locations.
120 // Disable at the breakpoint level should override the location settings.
121 // That way you can conveniently turn off a whole breakpoint without messing
125 Breakpoint::SetEnabled (bool enable)
141 Breakpoint::IsEnabled ()
147 Breakpoint::SetIgnoreCount (uint32_t n)
157 Breakpoint::DecrementIgnoreCount ()
165 Breakpoint::GetIgnoreCount () const
171 Breakpoint::IgnoreCountShouldStop ()
187 Breakpoint::GetHitCount () const
193 Breakpoint::IsOneShot () const
199 Breakpoint::SetOneShot (bool one_shot)
205 Breakpoint::SetThreadID (lldb::tid_t thread_id)
215 Breakpoint::GetThreadID () const
224 Breakpoint::SetThreadIndex (uint32_t index)
234 Breakpoint::GetThreadIndex() const
243 Breakpoint::SetThreadName (const char *thread_name)
254 Breakpoint::GetThreadName () const
263 Breakpoint::SetQueueName (const char *queue_name)
274 Breakpoint::GetQueueName () const
283 Breakpoint::SetCondition (const char *condition)
290 Breakpoint::GetConditionText () const
297 Breakpoint::SetCallback (BreakpointHitCallback callback, void *baton, bool is_synchronous)
309 Breakpoint::SetCallback (BreakpointHitCallback callback, const BatonSP &callback_baton_sp, bool is_synchronous)
315 Breakpoint::ClearCallback ()
321 Breakpoint::InvokeCallback (StoppointCallbackContext *context, break_id_t bp_loc_id)
327 Breakpoint::GetOptions ()
333 Breakpoint::ResolveBreakpoint ()
340 Breakpoint::ResolveBreakpointInModules (ModuleList &module_list)
347 Breakpoint::ClearAllBreakpointSites ()
357 Breakpoint::ModulesChanged (ModuleList &module_list, bool load, bool delete_locations)
366 // breakpoint locations for that module.
367 // However, we do add breakpoint sites to these locations if needed.
368 // 3) If we don't see this module in our breakpoint location list, call ResolveInModules.
398 log->Printf ("Warning: could not set breakpoint site for breakpoint location %d of breakpoint %d.\n",
411 // If this is not an internal breakpoint, set up to record the new locations, then dispatch
438 // the module list, then remove their breakpoint sites, and their locations if asked to.
462 // Remove this breakpoint since the shared library is
463 // unloaded, but keep the breakpoint location around
464 // so we always get complete hit count and breakpoint
490 Breakpoint::ModuleReplaced (ModuleSP old_module_sp, ModuleSP new_module_sp)
497 // breakpoint locations that were in the old module.
507 Breakpoint::Dump (Stream *)
512 Breakpoint::GetNumResolvedLocations() const
520 Breakpoint::GetNumLocations() const
526 Breakpoint::GetDescription (Stream *s, lldb::DescriptionLevel level, bool show_locations)
544 // They just made the breakpoint, they don't need to be told HOW they made it...
545 // Also, we'll print the breakpoint number differently depending on whether there is 1 or more locations.
581 s->Printf ("Breakpoint %i: ", GetID());
606 // Verbose mode does a debug dump of the breakpoint
618 // show in the breakpoint's description, so suppress it.
633 Breakpoint::GetResolverDescription (Stream *s)
641 Breakpoint::GetMatchingFileLine (const ConstString &filename, uint32_t line_number, BreakpointLocationCollection &loc_coll)
643 // TODO: To be correct, this method needs to fill the breakpoint location collection
661 Breakpoint::GetFilterDescription (Stream *s)
667 Breakpoint::SendBreakpointChangedEvent (lldb::BreakpointEventType eventKind)
673 BreakpointEventData *data = new Breakpoint::BreakpointEventData (eventKind, shared_from_this());
680 Breakpoint::SendBreakpointChangedEvent (BreakpointEventData *data)
694 Breakpoint::BreakpointEventData::BreakpointEventData (BreakpointEventType sub_type,
702 Breakpoint::BreakpointEventData::~BreakpointEventData ()
707 Breakpoint::BreakpointEventData::GetFlavorString ()
709 static ConstString g_flavor ("Breakpoint::BreakpointEventData");
714 Breakpoint::BreakpointEventData::GetFlavor () const
721 Breakpoint::BreakpointEventData::GetBreakpoint ()
727 Breakpoint::BreakpointEventData::GetBreakpointEventType () const
733 Breakpoint::BreakpointEventData::Dump (Stream *s) const
737 const Breakpoint::BreakpointEventData *
738 Breakpoint::BreakpointEventData::GetEventDataFromEvent (const Event *event)
750 Breakpoint::BreakpointEventData::GetBreakpointEventTypeFromEvent (const EventSP &event_sp)
761 Breakpoint::BreakpointEventData::GetBreakpointFromEvent (const EventSP &event_sp)
773 Breakpoint::BreakpointEventData::GetNumBreakpointLocationsFromEvent (const EventSP &event_sp)
783 Breakpoint::BreakpointEventData::GetBreakpointLocationAtIndexFromEvent (const lldb::EventSP &event_sp, uint32_t bp_loc_idx)