LLDB mainline
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
lldb_private::StopInfoWatchpoint::ThreadPlanStepOverWatchpoint Class Reference
Inheritance diagram for lldb_private::StopInfoWatchpoint::ThreadPlanStepOverWatchpoint:
Inheritance graph

Public Member Functions

 ThreadPlanStepOverWatchpoint (Thread &thread, StopInfoWatchpointSP stop_info_sp, WatchpointSP watch_sp)
bool DoWillResume (lldb::StateType resume_state, bool current_plan) override
bool DoPlanExplainsStop (Event *event_ptr) override
void DidPop () override
bool ShouldStop (Event *event_ptr) override
bool ShouldRunBeforePublicStop () override
- Public Member Functions inherited from lldb_private::ThreadPlanStepInstruction
 ThreadPlanStepInstruction (Thread &thread, bool step_over, bool stop_others, Vote report_stop_vote, Vote report_run_vote)
 ~ThreadPlanStepInstruction () override
void GetDescription (Stream *s, lldb::DescriptionLevel level) override
 Print a description of this thread to the stream s.
bool ValidatePlan (Stream *error) override
 Returns whether this plan could be successfully created.
bool ShouldStop (Event *event_ptr) override
bool StopOthers () override
lldb::StateType GetPlanRunState () override
bool WillStop () override
bool MischiefManaged () override
bool IsPlanStale () override
- Public Member Functions inherited from lldb_private::ThreadPlan
virtual ~ThreadPlan ()
const char * GetName () const
 Returns the name of this thread plan.
ThreadGetThread ()
 Returns the Thread that is using this thread plan.
TargetGetTarget ()
const TargetGetTarget () const
void ClearThreadCache ()
 Clear the Thread* cache.
virtual void GetDescription (Stream *s, lldb::DescriptionLevel level)=0
 Print a description of this thread to the stream s.
virtual bool ValidatePlan (Stream *error)=0
 Returns whether this plan could be successfully created.
bool TracerExplainsStop ()
lldb::StateType RunState ()
bool PlanExplainsStop (Event *event_ptr)
virtual bool ShouldStop (Event *event_ptr)=0
virtual bool ShouldAutoContinue (Event *event_ptr)
 Returns whether this thread plan overrides the ShouldStop of subsequently processed plans.
virtual Vote ShouldReportStop (Event *event_ptr)
Vote ShouldReportRun (Event *event_ptr)
virtual void SetStopOthers (bool new_value)
virtual bool StopOthers ()
virtual bool ShouldRunBeforePublicStop ()
bool WillResume (lldb::StateType resume_state, bool current_plan)
virtual bool WillStop ()=0
bool IsControllingPlan ()
bool SetIsControllingPlan (bool value)
virtual bool OkayToDiscard ()
void SetOkayToDiscard (bool value)
virtual bool MischiefManaged ()
virtual void ThreadDestroyed ()
bool GetPrivate ()
void SetPrivate (bool input)
virtual void DidPush ()
virtual void DidPop ()
ThreadPlanKind GetKind () const
bool IsPlanComplete ()
void SetPlanComplete (bool success=true)
virtual bool IsPlanStale ()
bool PlanSucceeded ()
virtual bool IsBasePlan ()
lldb::ThreadPlanTracerSPGetThreadPlanTracer ()
void SetThreadPlanTracer (lldb::ThreadPlanTracerSP new_tracer_sp)
void DoTraceLog ()
virtual lldb::ValueObjectSP GetReturnValueObject ()
virtual lldb::ExpressionVariableSP GetExpressionVariable ()
virtual void RestoreThreadState ()
virtual bool IsVirtualStep ()
bool SetIterationCount (size_t count)
- Public Member Functions inherited from lldb_private::UserID
 UserID (lldb::user_id_t uid=LLDB_INVALID_UID)
 Construct with optional user ID.
 ~UserID ()=default
void Clear ()
 Clears the object state.
lldb::user_id_t GetID () const
 Get accessor for the user ID.
void SetID (lldb::user_id_t uid)
 Set accessor for the user ID.

Protected Member Functions

void ResetWatchpoint ()
- Protected Member Functions inherited from lldb_private::ThreadPlanStepInstruction
bool DoPlanExplainsStop (Event *event_ptr) override
void SetUpState ()
- Protected Member Functions inherited from lldb_private::ThreadPlan
 ThreadPlan (ThreadPlanKind kind, const char *name, Thread &thread, Vote report_stop_vote, Vote report_run_vote)
virtual bool DoWillResume (lldb::StateType resume_state, bool current_plan)
virtual bool DoPlanExplainsStop (Event *event_ptr)=0
void PushPlan (lldb::ThreadPlanSP &thread_plan_sp)
ThreadPlanGetPreviousPlan ()
lldb::StopInfoSP GetPrivateStopInfo ()
void SetStopInfo (lldb::StopInfoSP stop_reason_sp)
virtual lldb::StateType GetPlanRunState ()=0
bool IsUsuallyUnexplainedStopReason (lldb::StopReason)

Private Attributes

StopInfoWatchpointSP m_stop_info_sp
WatchpointSP m_watch_sp
bool m_did_disable_wp = false

Additional Inherited Members

- Public Types inherited from lldb_private::ThreadPlan
enum  ThreadPlanKind {
  eKindGeneric , eKindNull , eKindBase , eKindCallFunction ,
  eKindPython , eKindStepInstruction , eKindStepOut , eKindStepOverBreakpoint ,
  eKindStepOverRange , eKindStepInRange , eKindRunToAddress , eKindStepThrough ,
- Protected Attributes inherited from lldb_private::ThreadPlan
Status m_status
lldb::tid_t m_tid
Vote m_report_stop_vote
Vote m_report_run_vote
bool m_takes_iteration_count
bool m_could_not_resolve_hw_bp
int32_t m_iteration_count = 1
- Protected Attributes inherited from lldb_private::UserID
lldb::user_id_t m_uid
 The user ID that uniquely identifies an object.

Detailed Description

Definition at line 698 of file StopInfo.cpp.

Constructor & Destructor Documentation

◆ ThreadPlanStepOverWatchpoint()

lldb_private::StopInfoWatchpoint::ThreadPlanStepOverWatchpoint::ThreadPlanStepOverWatchpoint ( Thread thread,
StopInfoWatchpointSP  stop_info_sp,
WatchpointSP  watch_sp 

Definition at line 700 of file StopInfo.cpp.

Member Function Documentation

◆ DidPop()

void lldb_private::StopInfoWatchpoint::ThreadPlanStepOverWatchpoint::DidPop ( )

Reimplemented from lldb_private::ThreadPlan.

Definition at line 734 of file StopInfo.cpp.

References m_watch_sp.

◆ DoPlanExplainsStop()

bool lldb_private::StopInfoWatchpoint::ThreadPlanStepOverWatchpoint::DoPlanExplainsStop ( Event event_ptr)

◆ DoWillResume()

bool lldb_private::StopInfoWatchpoint::ThreadPlanStepOverWatchpoint::DoWillResume ( lldb::StateType  resume_state,
bool  current_plan 

◆ ResetWatchpoint()

void lldb_private::StopInfoWatchpoint::ThreadPlanStepOverWatchpoint::ResetWatchpoint ( )

◆ ShouldRunBeforePublicStop()

bool lldb_private::StopInfoWatchpoint::ThreadPlanStepOverWatchpoint::ShouldRunBeforePublicStop ( )

Reimplemented from lldb_private::ThreadPlan.

Definition at line 750 of file StopInfo.cpp.

◆ ShouldStop()

bool lldb_private::StopInfoWatchpoint::ThreadPlanStepOverWatchpoint::ShouldStop ( Event event_ptr)

Member Data Documentation

◆ m_did_disable_wp

bool lldb_private::StopInfoWatchpoint::ThreadPlanStepOverWatchpoint::m_did_disable_wp = false

Definition at line 765 of file StopInfo.cpp.

Referenced by DoWillResume(), and ResetWatchpoint().

◆ m_stop_info_sp

StopInfoWatchpointSP lldb_private::StopInfoWatchpoint::ThreadPlanStepOverWatchpoint::m_stop_info_sp

Definition at line 763 of file StopInfo.cpp.

Referenced by ShouldStop().

◆ m_watch_sp

WatchpointSP lldb_private::StopInfoWatchpoint::ThreadPlanStepOverWatchpoint::m_watch_sp

Definition at line 764 of file StopInfo.cpp.

Referenced by DidPop(), DoWillResume(), and ResetWatchpoint().

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