LLDB  mainline
Public Member Functions | Static Public Member Functions | Friends | List of all members
lldb::SBBreakpoint Class Reference

#include <SBBreakpoint.h>

Public Member Functions

 SBBreakpoint ()
 
 SBBreakpoint (const lldb::SBBreakpoint &rhs)
 
 SBBreakpoint (const lldb::BreakpointSP &bp_sp)
 
 ~SBBreakpoint ()
 
const lldb::SBBreakpointoperator= (const lldb::SBBreakpoint &rhs)
 
bool operator== (const lldb::SBBreakpoint &rhs)
 
bool operator!= (const lldb::SBBreakpoint &rhs)
 
break_id_t GetID () const
 
 operator bool () const
 
bool IsValid () const
 
void ClearAllBreakpointSites ()
 
lldb::SBBreakpointLocation FindLocationByAddress (lldb::addr_t vm_addr)
 
lldb::break_id_t FindLocationIDByAddress (lldb::addr_t vm_addr)
 
lldb::SBBreakpointLocation FindLocationByID (lldb::break_id_t bp_loc_id)
 
lldb::SBBreakpointLocation GetLocationAtIndex (uint32_t index)
 
void SetEnabled (bool enable)
 
bool IsEnabled ()
 
void SetOneShot (bool one_shot)
 
bool IsOneShot () const
 
bool IsInternal ()
 
uint32_t GetHitCount () const
 
void SetIgnoreCount (uint32_t count)
 
uint32_t GetIgnoreCount () const
 
void SetCondition (const char *condition)
 
const char * GetCondition ()
 
void SetAutoContinue (bool auto_continue)
 
bool GetAutoContinue ()
 
void SetThreadID (lldb::tid_t sb_thread_id)
 
lldb::tid_t GetThreadID ()
 
void SetThreadIndex (uint32_t index)
 
uint32_t GetThreadIndex () const
 
void SetThreadName (const char *thread_name)
 
const char * GetThreadName () const
 
void SetQueueName (const char *queue_name)
 
const char * GetQueueName () const
 
void SetCallback (SBBreakpointHitCallback callback, void *baton)
 
void SetScriptCallbackFunction (const char *callback_function_name)
 
void SetCommandLineCommands (SBStringList &commands)
 
bool GetCommandLineCommands (SBStringList &commands)
 
SBError SetScriptCallbackBody (const char *script_body_text)
 
bool AddName (const char *new_name)
 
void RemoveName (const char *name_to_remove)
 
bool MatchesName (const char *name)
 
void GetNames (SBStringList &names)
 
size_t GetNumResolvedLocations () const
 
size_t GetNumLocations () const
 
bool GetDescription (lldb::SBStream &description)
 
bool GetDescription (lldb::SBStream &description, bool include_locations)
 
bool IsHardware () const
 
SBError AddLocation (SBAddress &address)
 

Static Public Member Functions

static bool EventIsBreakpointEvent (const lldb::SBEvent &event)
 
static lldb::BreakpointEventType GetBreakpointEventTypeFromEvent (const lldb::SBEvent &event)
 
static lldb::SBBreakpoint GetBreakpointFromEvent (const lldb::SBEvent &event)
 
static lldb::SBBreakpointLocation GetBreakpointLocationAtIndexFromEvent (const lldb::SBEvent &event, uint32_t loc_idx)
 
static uint32_t GetNumBreakpointLocationsFromEvent (const lldb::SBEvent &event_sp)
 

Friends

class SBBreakpointList
 
class SBBreakpointLocation
 
class SBBreakpointName
 
class SBTarget
 

Detailed Description

Definition at line 18 of file SBBreakpoint.h.

Constructor & Destructor Documentation

◆ SBBreakpoint() [1/3]

SBBreakpoint::SBBreakpoint ( )

Definition at line 46 of file SBBreakpoint.cpp.

References LLDB_RECORD_CONSTRUCTOR_NO_ARGS.

Referenced by GetBreakpointFromEvent().

◆ SBBreakpoint() [2/3]

SBBreakpoint::SBBreakpoint ( const lldb::SBBreakpoint rhs)

Definition at line 48 of file SBBreakpoint.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ SBBreakpoint() [3/3]

SBBreakpoint::SBBreakpoint ( const lldb::BreakpointSP &  bp_sp)

Definition at line 53 of file SBBreakpoint.cpp.

References LLDB_RECORD_CONSTRUCTOR, and ~SBBreakpoint().

◆ ~SBBreakpoint()

SBBreakpoint::~SBBreakpoint ( )
default

Referenced by SBBreakpoint().

Member Function Documentation

◆ AddLocation()

SBError SBBreakpoint::AddLocation ( SBAddress address)

◆ AddName()

bool SBBreakpoint::AddName ( const char *  new_name)

Definition at line 634 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD.

◆ ClearAllBreakpointSites()

void SBBreakpoint::ClearAllBreakpointSites ( )

Definition at line 109 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD_NO_ARGS.

◆ EventIsBreakpointEvent()

bool SBBreakpoint::EventIsBreakpointEvent ( const lldb::SBEvent event)
static

Definition at line 697 of file SBBreakpoint.cpp.

References lldb::SBEvent::get(), and LLDB_RECORD_STATIC_METHOD.

◆ FindLocationByAddress()

SBBreakpointLocation SBBreakpoint::FindLocationByAddress ( lldb::addr_t  vm_addr)

◆ FindLocationByID()

SBBreakpointLocation SBBreakpoint::FindLocationByID ( lldb::break_id_t  bp_loc_id)

Definition at line 163 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD, and LLDB_RECORD_RESULT.

◆ FindLocationIDByAddress()

break_id_t SBBreakpoint::FindLocationIDByAddress ( lldb::addr_t  vm_addr)

◆ GetAutoContinue()

bool SBBreakpoint::GetAutoContinue ( )

Definition at line 303 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD_NO_ARGS.

◆ GetBreakpointEventTypeFromEvent()

BreakpointEventType SBBreakpoint::GetBreakpointEventTypeFromEvent ( const lldb::SBEvent event)
static

◆ GetBreakpointFromEvent()

SBBreakpoint SBBreakpoint::GetBreakpointFromEvent ( const lldb::SBEvent event)
static

◆ GetBreakpointLocationAtIndexFromEvent()

SBBreakpointLocation SBBreakpoint::GetBreakpointLocationAtIndexFromEvent ( const lldb::SBEvent event,
uint32_t  loc_idx 
)
static

◆ GetCommandLineCommands()

bool SBBreakpoint::GetCommandLineCommands ( SBStringList commands)

Definition at line 500 of file SBBreakpoint.cpp.

References lldb::SBStringList::AppendList(), and LLDB_RECORD_METHOD.

◆ GetCondition()

const char * SBBreakpoint::GetCondition ( )

Definition at line 279 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD_NO_ARGS.

◆ GetDescription() [1/2]

bool SBBreakpoint::GetDescription ( lldb::SBStream description)

Definition at line 515 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD.

Referenced by GetDescription().

◆ GetDescription() [2/2]

bool SBBreakpoint::GetDescription ( lldb::SBStream description,
bool  include_locations 
)

◆ GetHitCount()

uint32_t SBBreakpoint::GetHitCount ( ) const

Definition at line 315 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ GetID()

break_id_t SBBreakpoint::GetID ( ) const

Definition at line 82 of file SBBreakpoint.cpp.

References LLDB_INVALID_BREAK_ID, and LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ GetIgnoreCount()

uint32_t SBBreakpoint::GetIgnoreCount ( ) const

Definition at line 329 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ GetLocationAtIndex()

SBBreakpointLocation SBBreakpoint::GetLocationAtIndex ( uint32_t  index)

Definition at line 179 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD, and LLDB_RECORD_RESULT.

◆ GetNames()

void SBBreakpoint::GetNames ( SBStringList names)

Definition at line 680 of file SBBreakpoint.cpp.

References lldb::SBStringList::AppendString(), and LLDB_RECORD_METHOD.

◆ GetNumBreakpointLocationsFromEvent()

uint32_t SBBreakpoint::GetNumBreakpointLocationsFromEvent ( const lldb::SBEvent event_sp)
static

◆ GetNumLocations()

size_t SBBreakpoint::GetNumLocations ( ) const

Definition at line 469 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ GetNumResolvedLocations()

size_t SBBreakpoint::GetNumResolvedLocations ( ) const

Definition at line 455 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ GetQueueName()

const char * SBBreakpoint::GetQueueName ( ) const

◆ GetThreadID()

tid_t SBBreakpoint::GetThreadID ( )

Definition at line 354 of file SBBreakpoint.cpp.

References LLDB_INVALID_THREAD_ID, and LLDB_RECORD_METHOD_NO_ARGS.

◆ GetThreadIndex()

uint32_t SBBreakpoint::GetThreadIndex ( ) const

Definition at line 379 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, and UINT32_MAX.

◆ GetThreadName()

const char * SBBreakpoint::GetThreadName ( ) const

◆ IsEnabled()

bool SBBreakpoint::IsEnabled ( )

Definition at line 207 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD_NO_ARGS.

◆ IsHardware()

bool SBBreakpoint::IsHardware ( ) const

Definition at line 758 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ IsInternal()

bool SBBreakpoint::IsInternal ( )

Definition at line 243 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD_NO_ARGS.

◆ IsOneShot()

bool SBBreakpoint::IsOneShot ( ) const

Definition at line 231 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ IsValid()

bool SBBreakpoint::IsValid ( ) const

◆ MatchesName()

bool SBBreakpoint::MatchesName ( const char *  name)

Definition at line 666 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD.

◆ operator bool()

SBBreakpoint::operator bool ( ) const
explicit

Definition at line 97 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator!=()

bool SBBreakpoint::operator!= ( const lldb::SBBreakpoint rhs)

Definition at line 75 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD.

◆ operator=()

const SBBreakpoint & SBBreakpoint::operator= ( const lldb::SBBreakpoint rhs)

Definition at line 60 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD, and LLDB_RECORD_RESULT.

◆ operator==()

bool SBBreakpoint::operator== ( const lldb::SBBreakpoint rhs)

Definition at line 68 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD.

◆ RemoveName()

void SBBreakpoint::RemoveName ( const char *  name_to_remove)

Definition at line 652 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD.

◆ SetAutoContinue()

void SBBreakpoint::SetAutoContinue ( bool  auto_continue)

Definition at line 291 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD.

◆ SetCallback()

void SBBreakpoint::SetCallback ( SBBreakpointHitCallback  callback,
void *  baton 
)

Definition at line 576 of file SBBreakpoint.cpp.

References LLDB_RECORD_DUMMY.

◆ SetCommandLineCommands()

void SBBreakpoint::SetCommandLineCommands ( SBStringList commands)

◆ SetCondition()

void SBBreakpoint::SetCondition ( const char *  condition)

Definition at line 267 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD.

◆ SetEnabled()

void SBBreakpoint::SetEnabled ( bool  enable)

Definition at line 195 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD.

◆ SetIgnoreCount()

void SBBreakpoint::SetIgnoreCount ( uint32_t  count)

Definition at line 255 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD.

◆ SetOneShot()

void SBBreakpoint::SetOneShot ( bool  one_shot)

Definition at line 219 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD.

◆ SetQueueName()

void SBBreakpoint::SetQueueName ( const char *  queue_name)

Definition at line 426 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD.

◆ SetScriptCallbackBody()

SBError SBBreakpoint::SetScriptCallbackBody ( const char *  script_body_text)

◆ SetScriptCallbackFunction()

void SBBreakpoint::SetScriptCallbackFunction ( const char *  callback_function_name)

Definition at line 592 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD.

◆ SetThreadID()

void SBBreakpoint::SetThreadID ( lldb::tid_t  sb_thread_id)

Definition at line 343 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD.

◆ SetThreadIndex()

void SBBreakpoint::SetThreadIndex ( uint32_t  index)

Definition at line 368 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD.

◆ SetThreadName()

void SBBreakpoint::SetThreadName ( const char *  thread_name)

Definition at line 396 of file SBBreakpoint.cpp.

References LLDB_RECORD_METHOD.

Friends And Related Function Documentation

◆ SBBreakpointList

friend class SBBreakpointList
friend

Definition at line 140 of file SBBreakpoint.h.

◆ SBBreakpointLocation

friend class SBBreakpointLocation
friend

Definition at line 141 of file SBBreakpoint.h.

◆ SBBreakpointName

friend class SBBreakpointName
friend

Definition at line 142 of file SBBreakpoint.h.

◆ SBTarget

friend class SBTarget
friend

Definition at line 143 of file SBBreakpoint.h.


The documentation for this class was generated from the following files: