LLDB  mainline
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
lldb_private::ThreadPlanTracer Class Reference

#include <ThreadPlanTracer.h>

Inheritance diagram for lldb_private::ThreadPlanTracer:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::ThreadPlanTracer:
Collaboration graph
[legend]

Public Types

enum  ThreadPlanTracerStyle { eLocation = 0, eStateChange, eCheckFrames, ePython }
 
typedef enum lldb_private::ThreadPlanTracer::ThreadPlanTracerStyle ThreadPlanTracerStyle
 

Public Member Functions

 ThreadPlanTracer (Thread &thread, lldb::StreamSP &stream_sp)
 
 ThreadPlanTracer (Thread &thread)
 
virtual ~ThreadPlanTracer ()=default
 
virtual void TracingStarted ()
 
virtual void TracingEnded ()
 
bool EnableTracing (bool value)
 
bool TracingEnabled ()
 
bool EnableSingleStep (bool value)
 
bool SingleStepEnabled ()
 

Protected Member Functions

StreamGetLogStream ()
 
virtual void Log ()
 

Protected Attributes

Threadm_thread
 

Friends

class ThreadPlan
 

Detailed Description

Definition at line 20 of file ThreadPlanTracer.h.

Member Typedef Documentation

◆ ThreadPlanTracerStyle

Member Enumeration Documentation

◆ ThreadPlanTracerStyle

Enumerator
eLocation 
eStateChange 
eCheckFrames 
ePython 

Definition at line 24 of file ThreadPlanTracer.h.

Constructor & Destructor Documentation

◆ ThreadPlanTracer() [1/2]

ThreadPlanTracer::ThreadPlanTracer ( Thread thread,
lldb::StreamSP &  stream_sp 
)

Definition at line 36 of file ThreadPlanTracer.cpp.

◆ ThreadPlanTracer() [2/2]

ThreadPlanTracer::ThreadPlanTracer ( Thread thread)

Definition at line 40 of file ThreadPlanTracer.cpp.

◆ ~ThreadPlanTracer()

virtual lldb_private::ThreadPlanTracer::~ThreadPlanTracer ( )
virtualdefault

Member Function Documentation

◆ EnableSingleStep()

bool lldb_private::ThreadPlanTracer::EnableSingleStep ( bool  value)
inline

Definition at line 53 of file ThreadPlanTracer.h.

◆ EnableTracing()

bool lldb_private::ThreadPlanTracer::EnableTracing ( bool  value)
inline

Definition at line 40 of file ThreadPlanTracer.h.

References TracingEnded(), and TracingStarted().

◆ GetLogStream()

Stream * ThreadPlanTracer::GetLogStream ( )
protected

◆ Log()

void ThreadPlanTracer::Log ( )
protectedvirtual

◆ SingleStepEnabled()

bool lldb_private::ThreadPlanTracer::SingleStepEnabled ( )
inline

Definition at line 59 of file ThreadPlanTracer.h.

◆ TracingEnabled()

bool lldb_private::ThreadPlanTracer::TracingEnabled ( )
inline

Definition at line 51 of file ThreadPlanTracer.h.

◆ TracingEnded()

virtual void lldb_private::ThreadPlanTracer::TracingEnded ( )
inlinevirtual

Reimplemented in lldb_private::ThreadPlanAssemblyTracer.

Definition at line 38 of file ThreadPlanTracer.h.

Referenced by EnableTracing().

◆ TracingStarted()

virtual void lldb_private::ThreadPlanTracer::TracingStarted ( )
inlinevirtual

Reimplemented in lldb_private::ThreadPlanAssemblyTracer.

Definition at line 36 of file ThreadPlanTracer.h.

Referenced by EnableTracing().

Friends And Related Function Documentation

◆ ThreadPlan

friend class ThreadPlan
friend

Definition at line 21 of file ThreadPlanTracer.h.

Member Data Documentation

◆ m_thread

Thread& lldb_private::ThreadPlanTracer::m_thread
protected

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