LLDB mainline
lldb_private::StoppointHitCounter Class Reference

#include <StoppointHitCounter.h>

Public Member Functions

uint32_t GetValue () const
void Increment (uint32_t difference=1)
void Decrement (uint32_t difference=1)
void Reset ()

Private Attributes

uint32_t m_hit_count = 0
 Number of times this breakpoint/watchpoint has been hit.

Detailed Description

Definition at line 20 of file StoppointHitCounter.h.

Member Function Documentation

◆ Decrement()

void lldb_private::StoppointHitCounter::Decrement ( uint32_t difference = 1)
inline

Definition at line 29 of file StoppointHitCounter.h.

References lldbassert, and m_hit_count.

◆ GetValue()

uint32_t lldb_private::StoppointHitCounter::GetValue ( ) const
inline

Definition at line 22 of file StoppointHitCounter.h.

References m_hit_count.

◆ Increment()

void lldb_private::StoppointHitCounter::Increment ( uint32_t difference = 1)
inline

Definition at line 24 of file StoppointHitCounter.h.

References lldbassert, and m_hit_count.

◆ Reset()

void lldb_private::StoppointHitCounter::Reset ( )
inline

Definition at line 34 of file StoppointHitCounter.h.

References m_hit_count.

Member Data Documentation

◆ m_hit_count

uint32_t lldb_private::StoppointHitCounter::m_hit_count = 0
private

Number of times this breakpoint/watchpoint has been hit.

Definition at line 38 of file StoppointHitCounter.h.

Referenced by Decrement(), GetValue(), Increment(), and Reset().


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