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

#include <ThreadPlanTracer.h>

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

Public Types

enum  ThreadPlanTracerStyle { eLocation = 0 , eStateChange , eCheckFrames , ePython }
 

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 ()
 
ThreadGetThread ()
 

Protected Member Functions

StreamGetLogStream ()
 
virtual void Log ()
 

Protected Attributes

Processm_process
 
lldb::tid_t m_tid
 

Private Member Functions

bool TracerExplainsStop ()
 

Private Attributes

bool m_enabled
 
lldb::StreamSP m_stream_sp
 
Threadm_thread
 

Friends

class ThreadPlan
 

Detailed Description

Definition at line 20 of file ThreadPlanTracer.h.

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

◆ EnableTracing()

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

Definition at line 40 of file ThreadPlanTracer.h.

References m_enabled, TracingEnded(), and TracingStarted().

◆ GetLogStream()

Stream * ThreadPlanTracer::GetLogStream ( )
protected

Definition at line 44 of file ThreadPlanTracer.cpp.

References GetThread(), and m_stream_sp.

Referenced by Log(), and lldb_private::ThreadPlanAssemblyTracer::Log().

◆ GetThread()

Thread & ThreadPlanTracer::GetThread ( )

◆ Log()

void ThreadPlanTracer::Log ( )
protectedvirtual

◆ TracerExplainsStop()

bool ThreadPlanTracer::TracerExplainsStop ( )
private

◆ TracingEnabled()

bool lldb_private::ThreadPlanTracer::TracingEnabled ( )
inline

Definition at line 51 of file ThreadPlanTracer.h.

References m_enabled.

◆ 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_enabled

bool lldb_private::ThreadPlanTracer::m_enabled
private

Definition at line 66 of file ThreadPlanTracer.h.

Referenced by EnableTracing(), TracerExplainsStop(), and TracingEnabled().

◆ m_process

Process& lldb_private::ThreadPlanTracer::m_process
protected

◆ m_stream_sp

lldb::StreamSP lldb_private::ThreadPlanTracer::m_stream_sp
private

Definition at line 67 of file ThreadPlanTracer.h.

Referenced by GetLogStream().

◆ m_thread

Thread* lldb_private::ThreadPlanTracer::m_thread
private

Definition at line 68 of file ThreadPlanTracer.h.

Referenced by GetThread().

◆ m_tid

lldb::tid_t lldb_private::ThreadPlanTracer::m_tid
protected

Definition at line 57 of file ThreadPlanTracer.h.

Referenced by GetThread().


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