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

A class to manage flag bits. More...

#include "lldb/Core/Debugger.h"

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

Public Types

enum  { eBroadcastBitProgress = (1 << 0) , eBroadcastBitWarning = (1 << 1) , eBroadcastBitError = (1 << 2) , eBroadcastSymbolChange = (1 << 3) }
 Broadcaster event bits definitions. More...
 
enum  StopDisassemblyType { eStopDisassemblyTypeNever = 0 , eStopDisassemblyTypeNoDebugInfo , eStopDisassemblyTypeNoSource , eStopDisassemblyTypeAlways }
 

Public Member Functions

BroadcasterGetBroadcaster ()
 Get the public broadcaster for this debugger.
 
const BroadcasterGetBroadcaster () const
 
 ~Debugger () override
 
void Clear ()
 
bool GetAsyncExecution ()
 
void SetAsyncExecution (bool async)
 
lldb::FileSP GetInputFileSP ()
 
lldb::StreamFileSP GetOutputStreamSP ()
 
lldb::StreamFileSP GetErrorStreamSP ()
 
FileGetInputFile ()
 
FileGetOutputFile ()
 
FileGetErrorFile ()
 
StreamFileGetOutputStream ()
 
StreamFileGetErrorStream ()
 
repro::DataRecorder * GetInputRecorder ()
 
Status SetInputString (const char *data)
 
void SetInputFile (lldb::FileSP file)
 
void SetOutputFile (lldb::FileSP file)
 
void SetErrorFile (lldb::FileSP file)
 
void SaveInputTerminalState ()
 
void RestoreInputTerminalState ()
 
lldb::StreamSP GetAsyncOutputStream ()
 
lldb::StreamSP GetAsyncErrorStream ()
 
CommandInterpreterGetCommandInterpreter ()
 
ScriptInterpreterGetScriptInterpreter (bool can_create=true, std::optional< lldb::ScriptLanguage > language={})
 
lldb::ListenerSP GetListener ()
 
SourceManagerGetSourceManager ()
 
lldb::TargetSP GetSelectedTarget ()
 
ExecutionContext GetSelectedExecutionContext ()
 
TargetListGetTargetList ()
 Get accessor for the target list.
 
PlatformListGetPlatformList ()
 
void DispatchInputInterrupt ()
 
void DispatchInputEndOfFile ()
 
void AdoptTopIOHandlerFilesIfInvalid (lldb::FileSP &in, lldb::StreamFileSP &out, lldb::StreamFileSP &err)
 
void RunIOHandlerAsync (const lldb::IOHandlerSP &reader_sp, bool cancel_top_handler=true)
 Run the given IO handler and return immediately.
 
void RunIOHandlerSync (const lldb::IOHandlerSP &reader_sp)
 Run the given IO handler and block until it's complete.
 
bool RemoveIOHandler (const lldb::IOHandlerSP &reader_sp)
 Remove the given IO handler if it's currently active.
 
bool IsTopIOHandler (const lldb::IOHandlerSP &reader_sp)
 
bool CheckTopIOHandlerTypes (IOHandler::Type top_type, IOHandler::Type second_top_type)
 
void PrintAsync (const char *s, size_t len, bool is_stdout)
 
ConstString GetTopIOHandlerControlSequence (char ch)
 
const char * GetIOHandlerCommandPrefix ()
 
const char * GetIOHandlerHelpPrologue ()
 
void ClearIOHandlers ()
 
bool GetCloseInputOnEOF () const
 
void SetCloseInputOnEOF (bool b)
 
bool EnableLog (llvm::StringRef channel, llvm::ArrayRef< const char * > categories, llvm::StringRef log_file, uint32_t log_options, size_t buffer_size, LogHandlerKind log_handler_kind, llvm::raw_ostream &error_stream)
 
void SetLoggingCallback (lldb::LogOutputCallback log_callback, void *baton)
 
Status SetPropertyValue (const ExecutionContext *exe_ctx, VarSetOperationType op, llvm::StringRef property_path, llvm::StringRef value) override
 
bool GetAutoConfirm () const
 
const FormatEntity::EntryGetDisassemblyFormat () const
 
const FormatEntity::EntryGetFrameFormat () const
 
const FormatEntity::EntryGetFrameFormatUnique () const
 
uint32_t GetStopDisassemblyMaxSize () const
 
const FormatEntity::EntryGetThreadFormat () const
 
const FormatEntity::EntryGetThreadStopFormat () const
 
lldb::ScriptLanguage GetScriptLanguage () const
 
bool SetScriptLanguage (lldb::ScriptLanguage script_lang)
 
lldb::LanguageType GetREPLLanguage () const
 
bool SetREPLLanguage (lldb::LanguageType repl_lang)
 
uint32_t GetTerminalWidth () const
 
bool SetTerminalWidth (uint32_t term_width)
 
llvm::StringRef GetPrompt () const
 
void SetPrompt (llvm::StringRef p)
 
void SetPrompt (const char *)=delete
 
bool GetUseExternalEditor () const
 
bool SetUseExternalEditor (bool use_external_editor_p)
 
bool GetUseColor () const
 
bool SetUseColor (bool use_color)
 
bool GetShowProgress () const
 
bool SetShowProgress (bool show_progress)
 
llvm::StringRef GetShowProgressAnsiPrefix () const
 
llvm::StringRef GetShowProgressAnsiSuffix () const
 
bool GetUseAutosuggestion () const
 
llvm::StringRef GetAutosuggestionAnsiPrefix () const
 
llvm::StringRef GetAutosuggestionAnsiSuffix () const
 
bool GetUseSourceCache () const
 
bool SetUseSourceCache (bool use_source_cache)
 
bool GetHighlightSource () const
 
lldb::StopShowColumn GetStopShowColumn () const
 
llvm::StringRef GetStopShowColumnAnsiPrefix () const
 
llvm::StringRef GetStopShowColumnAnsiSuffix () const
 
uint32_t GetStopSourceLineCount (bool before) const
 
StopDisassemblyType GetStopDisassemblyDisplay () const
 
uint32_t GetDisassemblyLineCount () const
 
llvm::StringRef GetStopShowLineMarkerAnsiPrefix () const
 
llvm::StringRef GetStopShowLineMarkerAnsiSuffix () const
 
bool GetAutoOneLineSummaries () const
 
bool GetAutoIndent () const
 
bool SetAutoIndent (bool b)
 
bool GetPrintDecls () const
 
bool SetPrintDecls (bool b)
 
uint32_t GetTabSize () const
 
bool SetTabSize (uint32_t tab_size)
 
lldb::DWIMPrintVerbosity GetDWIMPrintVerbosity () const
 
bool GetEscapeNonPrintables () const
 
bool GetNotifyVoid () const
 
ConstString GetInstanceName ()
 
bool LoadPlugin (const FileSpec &spec, Status &error)
 
void RunIOHandlers ()
 
bool IsForwardingEvents ()
 
void EnableForwardEvents (const lldb::ListenerSP &listener_sp)
 
void CancelForwardEvents (const lldb::ListenerSP &listener_sp)
 
bool IsHandlingEvents () const
 
Status RunREPL (lldb::LanguageType language, const char *repl_options)
 
TargetGetSelectedOrDummyTarget (bool prefer_dummy=false)
 
TargetGetDummyTarget ()
 
lldb::BroadcasterManagerSP GetBroadcasterManager ()
 
- Public Member Functions inherited from lldb_private::UserID
 UserID (lldb::user_id_t uid=LLDB_INVALID_UID)
 Construct with optional user ID.
 
 ~UserID ()=default
 Destructor.
 
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.
 
- Public Member Functions inherited from lldb_private::Properties
 Properties ()=default
 
 Properties (const lldb::OptionValuePropertiesSP &collection_sp)
 
virtual ~Properties ()=default
 
virtual lldb::OptionValuePropertiesSP GetValueProperties () const
 
virtual lldb::OptionValueSP GetPropertyValue (const ExecutionContext *exe_ctx, llvm::StringRef property_path, bool will_modify, Status &error) const
 
virtual Status SetPropertyValue (const ExecutionContext *exe_ctx, VarSetOperationType op, llvm::StringRef property_path, llvm::StringRef value)
 
virtual Status DumpPropertyValue (const ExecutionContext *exe_ctx, Stream &strm, llvm::StringRef property_path, uint32_t dump_mask, bool is_json=false)
 
virtual void DumpAllPropertyValues (const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask, bool is_json=false)
 
virtual void DumpAllDescriptions (CommandInterpreter &interpreter, Stream &strm) const
 
size_t Apropos (llvm::StringRef keyword, std::vector< const Property * > &matching_properties) const
 
lldb::OptionValuePropertiesSP GetSubProperty (const ExecutionContext *exe_ctx, ConstString name)
 

Static Public Member Functions

static ConstString GetStaticBroadcasterClass ()
 
static lldb::DebuggerSP CreateInstance (lldb::LogOutputCallback log_callback=nullptr, void *baton=nullptr)
 
static lldb::TargetSP FindTargetWithProcessID (lldb::pid_t pid)
 
static lldb::TargetSP FindTargetWithProcess (Process *process)
 
static void Initialize (LoadPluginCallbackType load_plugin_callback)
 
static void Terminate ()
 
static void SettingsInitialize ()
 
static void SettingsTerminate ()
 
static void Destroy (lldb::DebuggerSP &debugger_sp)
 
static lldb::DebuggerSP FindDebuggerWithID (lldb::user_id_t id)
 
static lldb::DebuggerSP FindDebuggerWithInstanceName (ConstString instance_name)
 
static size_t GetNumDebuggers ()
 
static lldb::DebuggerSP GetDebuggerAtIndex (size_t index)
 
static bool FormatDisassemblerAddress (const FormatEntity::Entry *format, const SymbolContext *sc, const SymbolContext *prev_sc, const ExecutionContext *exe_ctx, const Address *addr, Stream &s)
 
static llvm::ThreadPool & GetThreadPool ()
 Shared thread poll. Use only with ThreadPoolTaskGroup.
 
static void ReportWarning (std::string message, std::optional< lldb::user_id_t > debugger_id=std::nullopt, std::once_flag *once=nullptr)
 Report warning events.
 
static void ReportError (std::string message, std::optional< lldb::user_id_t > debugger_id=std::nullopt, std::once_flag *once=nullptr)
 Report error events.
 
static void ReportInfo (std::string message, std::optional< lldb::user_id_t > debugger_id=std::nullopt, std::once_flag *once=nullptr)
 Report info events.
 
static void ReportSymbolChange (const ModuleSpec &module_spec)
 
- Static Public Member Functions inherited from lldb_private::Properties
static const char * GetExperimentalSettingsName ()
 
static bool IsSettingExperimental (llvm::StringRef setting)
 

Protected Types

enum  { eBroadcastBitEventThreadIsListening = (1 << 0) }
 
typedef std::vector< llvm::sys::DynamicLibrary > LoadedPluginsList
 

Protected Member Functions

void PrintProgress (const ProgressEventData &data)
 
bool StartEventHandlerThread ()
 
void StopEventHandlerThread ()
 
void PushIOHandler (const lldb::IOHandlerSP &reader_sp, bool cancel_top_handler=true)
 
bool PopIOHandler (const lldb::IOHandlerSP &reader_sp)
 
bool HasIOHandlerThread ()
 
bool StartIOHandlerThread ()
 
void StopIOHandlerThread ()
 
void JoinIOHandlerThread ()
 
lldb::thread_result_t IOHandlerThread ()
 
lldb::thread_result_t DefaultEventHandler ()
 
void HandleBreakpointEvent (const lldb::EventSP &event_sp)
 
void HandleProcessEvent (const lldb::EventSP &event_sp)
 
void HandleThreadEvent (const lldb::EventSP &event_sp)
 
void HandleProgressEvent (const lldb::EventSP &event_sp)
 
void HandleDiagnosticEvent (const lldb::EventSP &event_sp)
 
void FlushProcessOutput (Process &process, bool flush_stdout, bool flush_stderr)
 
SourceManager::SourceFileCacheGetSourceFileCache ()
 
void InstanceInitialize ()
 

Static Protected Member Functions

static void ReportProgress (uint64_t progress_id, const std::string &message, uint64_t completed, uint64_t total, std::optional< lldb::user_id_t > debugger_id)
 Report progress events.
 
static void ReportDiagnosticImpl (DiagnosticEventData::Type type, std::string message, std::optional< lldb::user_id_t > debugger_id, std::once_flag *once)
 

Protected Attributes

std::mutex m_output_flush_mutex
 
lldb::FileSP m_input_file_sp
 
lldb::StreamFileSP m_output_stream_sp
 
lldb::StreamFileSP m_error_stream_sp
 
repro::DataRecorder * m_input_recorder
 Used for shadowing the input file when capturing a reproducer.
 
lldb::BroadcasterManagerSP m_broadcaster_manager_sp
 
TerminalState m_terminal_state
 
TargetList m_target_list
 
PlatformList m_platform_list
 
lldb::ListenerSP m_listener_sp
 
std::unique_ptr< SourceManagerm_source_manager_up
 
SourceManager::SourceFileCache m_source_file_cache
 
std::unique_ptr< CommandInterpreterm_command_interpreter_up
 
std::recursive_mutex m_script_interpreter_mutex
 
std::array< lldb::ScriptInterpreterSP, lldb::eScriptLanguageUnknownm_script_interpreters
 
IOHandlerStack m_io_handler_stack
 
std::recursive_mutex m_io_handler_synchronous_mutex
 
std::optional< uint64_t > m_current_event_id
 
llvm::StringMap< std::weak_ptr< LogHandler > > m_stream_handlers
 
std::shared_ptr< CallbackLogHandlerm_callback_handler_sp
 
ConstString m_instance_name
 
LoadedPluginsList m_loaded_plugins
 
HostThread m_event_handler_thread
 
HostThread m_io_handler_thread
 
Broadcaster m_sync_broadcaster
 Private debugger synchronization.
 
Broadcaster m_broadcaster
 Public Debugger event broadcaster.
 
lldb::ListenerSP m_forward_listener_sp
 
llvm::once_flag m_clear_once
 
lldb::TargetSP m_dummy_target_sp
 
- Protected Attributes inherited from lldb_private::UserID
lldb::user_id_t m_uid
 The user ID that uniquely identifies an object.
 
- Protected Attributes inherited from lldb_private::Properties
lldb::OptionValuePropertiesSP m_collection_sp
 

Static Protected Attributes

static LoadPluginCallbackType g_load_plugin_callback = nullptr
 

Private Member Functions

 Debugger (lldb::LogOutputCallback m_log_callback, void *baton)
 
 Debugger (const Debugger &)=delete
 
const Debuggeroperator= (const Debugger &)=delete
 

Friends

class SourceManager
 
class CommandInterpreter
 
class REPL
 
class Progress
 

Detailed Description

A class to manage flag bits.

Provides a global root objects for the debugger core.

Definition at line 75 of file Debugger.h.

Member Typedef Documentation

◆ LoadedPluginsList

typedef std::vector<llvm::sys::DynamicLibrary> lldb_private::Debugger::LoadedPluginsList
protected

Definition at line 583 of file Debugger.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Broadcaster event bits definitions.

Enumerator
eBroadcastBitProgress 
eBroadcastBitWarning 
eBroadcastBitError 
eBroadcastSymbolChange 

Definition at line 82 of file Debugger.h.

◆ anonymous enum

anonymous enum
protected
Enumerator
eBroadcastBitEventThreadIsListening 

Definition at line 594 of file Debugger.h.

◆ StopDisassemblyType

Enumerator
eStopDisassemblyTypeNever 
eStopDisassemblyTypeNoDebugInfo 
eStopDisassemblyTypeNoSource 
eStopDisassemblyTypeAlways 

Definition at line 252 of file Debugger.h.

Constructor & Destructor Documentation

◆ ~Debugger()

Debugger::~Debugger ( )
override

Definition at line 838 of file Debugger.cpp.

References Clear().

◆ Debugger() [1/2]

Debugger::Debugger ( lldb::LogOutputCallback  m_log_callback,
void *  baton 
)
private

◆ Debugger() [2/2]

lldb_private::Debugger::Debugger ( const Debugger )
privatedelete

Member Function Documentation

◆ AdoptTopIOHandlerFilesIfInvalid()

void Debugger::AdoptTopIOHandlerFilesIfInvalid ( lldb::FileSP &  in,
lldb::StreamFileSP &  out,
lldb::StreamFileSP &  err 
)

◆ CancelForwardEvents()

void Debugger::CancelForwardEvents ( const lldb::ListenerSP &  listener_sp)

Definition at line 1691 of file Debugger.cpp.

References m_forward_listener_sp.

◆ CheckTopIOHandlerTypes()

bool Debugger::CheckTopIOHandlerTypes ( IOHandler::Type  top_type,
IOHandler::Type  second_top_type 
)

◆ Clear()

void Debugger::Clear ( )

◆ ClearIOHandlers()

void Debugger::ClearIOHandlers ( )

◆ CreateInstance()

DebuggerSP Debugger::CreateInstance ( lldb::LogOutputCallback  log_callback = nullptr,
void *  baton = nullptr 
)
static

Definition at line 671 of file Debugger.cpp.

References g_debugger_list_mutex_ptr, and g_debugger_list_ptr.

Referenced by lldb::SBDebugger::Create().

◆ DefaultEventHandler()

lldb::thread_result_t Debugger::DefaultEventHandler ( )
protected

◆ Destroy()

void Debugger::Destroy ( lldb::DebuggerSP &  debugger_sp)
static

◆ DispatchInputEndOfFile()

void Debugger::DispatchInputEndOfFile ( )

◆ DispatchInputInterrupt()

void Debugger::DispatchInputInterrupt ( )

◆ EnableForwardEvents()

void Debugger::EnableForwardEvents ( const lldb::ListenerSP &  listener_sp)

Definition at line 1687 of file Debugger.cpp.

References m_forward_listener_sp.

◆ EnableLog()

bool Debugger::EnableLog ( llvm::StringRef  channel,
llvm::ArrayRef< const char * >  categories,
llvm::StringRef  log_file,
uint32_t  log_options,
size_t  buffer_size,
LogHandlerKind  log_handler_kind,
llvm::raw_ostream &  error_stream 
)

◆ FindDebuggerWithID()

DebuggerSP Debugger::FindDebuggerWithID ( lldb::user_id_t  id)
static

◆ FindDebuggerWithInstanceName()

DebuggerSP Debugger::FindDebuggerWithInstanceName ( ConstString  instance_name)
static

◆ FindTargetWithProcess()

TargetSP Debugger::FindTargetWithProcess ( Process process)
static

Definition at line 740 of file Debugger.cpp.

References g_debugger_list_mutex_ptr, and g_debugger_list_ptr.

◆ FindTargetWithProcessID()

TargetSP Debugger::FindTargetWithProcessID ( lldb::pid_t  pid)
static

◆ FlushProcessOutput()

void Debugger::FlushProcessOutput ( Process process,
bool  flush_stdout,
bool  flush_stderr 
)
protected

◆ FormatDisassemblerAddress()

bool Debugger::FormatDisassemblerAddress ( const FormatEntity::Entry format,
const SymbolContext sc,
const SymbolContext prev_sc,
const ExecutionContext exe_ctx,
const Address addr,
Stream s 
)
static

◆ GetAsyncErrorStream()

StreamSP Debugger::GetAsyncErrorStream ( )

◆ GetAsyncExecution()

bool Debugger::GetAsyncExecution ( )

◆ GetAsyncOutputStream()

StreamSP Debugger::GetAsyncOutputStream ( )

◆ GetAutoConfirm()

bool Debugger::GetAutoConfirm ( ) const

◆ GetAutoIndent()

bool Debugger::GetAutoIndent ( ) const

Definition at line 503 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by lldb_private::REPL::GetIOHandler().

◆ GetAutoOneLineSummaries()

bool Debugger::GetAutoOneLineSummaries ( ) const

Definition at line 493 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetAutosuggestionAnsiPrefix()

llvm::StringRef Debugger::GetAutosuggestionAnsiPrefix ( ) const

◆ GetAutosuggestionAnsiSuffix()

llvm::StringRef Debugger::GetAutosuggestionAnsiSuffix ( ) const

◆ GetBroadcaster() [1/2]

Broadcaster & lldb_private::Debugger::GetBroadcaster ( )
inline

Get the public broadcaster for this debugger.

Definition at line 92 of file Debugger.h.

References m_broadcaster.

Referenced by PrivateReportDiagnostic(), and PrivateReportProgress().

◆ GetBroadcaster() [2/2]

const Broadcaster & lldb_private::Debugger::GetBroadcaster ( ) const
inline

Definition at line 93 of file Debugger.h.

References m_broadcaster.

◆ GetBroadcasterManager()

lldb::BroadcasterManagerSP lldb_private::Debugger::GetBroadcasterManager ( )
inline

◆ GetCloseInputOnEOF()

bool Debugger::GetCloseInputOnEOF ( ) const

Definition at line 872 of file Debugger.cpp.

◆ GetCommandInterpreter()

CommandInterpreter & lldb_private::Debugger::GetCommandInterpreter ( )
inline

◆ GetDebuggerAtIndex()

lldb::DebuggerSP Debugger::GetDebuggerAtIndex ( size_t  index)
static

◆ GetDisassemblyFormat()

const FormatEntity::Entry * Debugger::GetDisassemblyFormat ( ) const

◆ GetDisassemblyLineCount()

uint32_t Debugger::GetDisassemblyLineCount ( ) const

◆ GetDummyTarget()

Target & lldb_private::Debugger::GetDummyTarget ( )
inline

◆ GetDWIMPrintVerbosity()

lldb::DWIMPrintVerbosity Debugger::GetDWIMPrintVerbosity ( ) const

◆ GetErrorFile()

File & lldb_private::Debugger::GetErrorFile ( )
inline

Definition at line 146 of file Debugger.h.

References m_error_stream_sp.

Referenced by IOHandlerLuaInterpreter::IOHandlerLuaInterpreter().

◆ GetErrorStream()

StreamFile & lldb_private::Debugger::GetErrorStream ( )
inline

◆ GetErrorStreamSP()

lldb::StreamFileSP lldb_private::Debugger::GetErrorStreamSP ( )
inline

◆ GetEscapeNonPrintables()

bool Debugger::GetEscapeNonPrintables ( ) const

Definition at line 498 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetFrameFormat()

const FormatEntity::Entry * Debugger::GetFrameFormat ( ) const

◆ GetFrameFormatUnique()

const FormatEntity::Entry * Debugger::GetFrameFormatUnique ( ) const

◆ GetHighlightSource()

bool Debugger::GetHighlightSource ( ) const

Definition at line 441 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetInputFile()

File & lldb_private::Debugger::GetInputFile ( )
inline

◆ GetInputFileSP()

lldb::FileSP lldb_private::Debugger::GetInputFileSP ( )
inline

◆ GetInputRecorder()

repro::DataRecorder * Debugger::GetInputRecorder ( )

Definition at line 889 of file Debugger.cpp.

References m_input_recorder.

◆ GetInstanceName()

ConstString lldb_private::Debugger::GetInstanceName ( )
inline

Definition at line 358 of file Debugger.h.

References m_instance_name.

◆ GetIOHandlerCommandPrefix()

const char * Debugger::GetIOHandlerCommandPrefix ( )

◆ GetIOHandlerHelpPrologue()

const char * Debugger::GetIOHandlerHelpPrologue ( )

◆ GetListener()

lldb::ListenerSP lldb_private::Debugger::GetListener ( )
inline

◆ GetNotifyVoid()

bool Debugger::GetNotifyVoid ( ) const

◆ GetNumDebuggers()

size_t Debugger::GetNumDebuggers ( )
static

◆ GetOutputFile()

File & lldb_private::Debugger::GetOutputFile ( )
inline

◆ GetOutputStream()

StreamFile & lldb_private::Debugger::GetOutputStream ( )
inline

◆ GetOutputStreamSP()

lldb::StreamFileSP lldb_private::Debugger::GetOutputStreamSP ( )
inline

◆ GetPlatformList()

PlatformList & lldb_private::Debugger::GetPlatformList ( )
inline

◆ GetPrintDecls()

bool Debugger::GetPrintDecls ( ) const

◆ GetPrompt()

llvm::StringRef Debugger::GetPrompt ( ) const

◆ GetREPLLanguage()

lldb::LanguageType Debugger::GetREPLLanguage ( ) const

◆ GetScriptInterpreter()

ScriptInterpreter * Debugger::GetScriptInterpreter ( bool  can_create = true,
std::optional< lldb::ScriptLanguage language = {} 
)

◆ GetScriptLanguage()

lldb::ScriptLanguage Debugger::GetScriptLanguage ( ) const

◆ GetSelectedExecutionContext()

ExecutionContext Debugger::GetSelectedExecutionContext ( )

◆ GetSelectedOrDummyTarget()

Target & Debugger::GetSelectedOrDummyTarget ( bool  prefer_dummy = false)

◆ GetSelectedTarget()

lldb::TargetSP lldb_private::Debugger::GetSelectedTarget ( )
inline

◆ GetShowProgress()

bool Debugger::GetShowProgress ( ) const

Definition at line 389 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by HandleProgressEvent().

◆ GetShowProgressAnsiPrefix()

llvm::StringRef Debugger::GetShowProgressAnsiPrefix ( ) const

Definition at line 401 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by HandleProgressEvent().

◆ GetShowProgressAnsiSuffix()

llvm::StringRef Debugger::GetShowProgressAnsiSuffix ( ) const

Definition at line 406 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by HandleProgressEvent().

◆ GetSourceFileCache()

SourceManager::SourceFileCache & lldb_private::Debugger::GetSourceFileCache ( )
inlineprotected

Definition at line 534 of file Debugger.h.

References m_source_file_cache.

◆ GetSourceManager()

SourceManager & Debugger::GetSourceManager ( )

Definition at line 1512 of file Debugger.cpp.

References m_source_manager_up.

Referenced by lldb_private::Disassembler::PrintInstructions().

◆ GetStaticBroadcasterClass()

ConstString Debugger::GetStaticBroadcasterClass ( )
static

Definition at line 754 of file Debugger.cpp.

Referenced by lldb::SBDebugger::GetBroadcasterClass().

◆ GetStopDisassemblyDisplay()

Debugger::StopDisassemblyType Debugger::GetStopDisassemblyDisplay ( ) const

◆ GetStopDisassemblyMaxSize()

uint32_t Debugger::GetStopDisassemblyMaxSize ( ) const

Definition at line 286 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetStopShowColumn()

StopShowColumn Debugger::GetStopShowColumn ( ) const

◆ GetStopShowColumnAnsiPrefix()

llvm::StringRef Debugger::GetStopShowColumnAnsiPrefix ( ) const

Definition at line 453 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetStopShowColumnAnsiSuffix()

llvm::StringRef Debugger::GetStopShowColumnAnsiSuffix ( ) const

Definition at line 458 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetStopShowLineMarkerAnsiPrefix()

llvm::StringRef Debugger::GetStopShowLineMarkerAnsiPrefix ( ) const

Definition at line 463 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetStopShowLineMarkerAnsiSuffix()

llvm::StringRef Debugger::GetStopShowLineMarkerAnsiSuffix ( ) const

Definition at line 468 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetStopSourceLineCount()

uint32_t Debugger::GetStopSourceLineCount ( bool  before) const

◆ GetTabSize()

uint32_t Debugger::GetTabSize ( ) const

◆ GetTargetList()

TargetList & lldb_private::Debugger::GetTargetList ( )
inline

◆ GetTerminalWidth()

uint32_t Debugger::GetTerminalWidth ( ) const

◆ GetThreadFormat()

const FormatEntity::Entry * Debugger::GetThreadFormat ( ) const

◆ GetThreadPool()

llvm::ThreadPool & Debugger::GetThreadPool ( )
static

Shared thread poll. Use only with ThreadPoolTaskGroup.

Definition at line 2027 of file Debugger.cpp.

References g_thread_pool.

Referenced by lldb_private::Symbols::DownloadSymbolFileAsync(), and lldb_private::ManualDWARFIndex::Index().

◆ GetThreadStopFormat()

const FormatEntity::Entry * Debugger::GetThreadStopFormat ( ) const

◆ GetTopIOHandlerControlSequence()

ConstString Debugger::GetTopIOHandlerControlSequence ( char  ch)

◆ GetUseAutosuggestion()

bool Debugger::GetUseAutosuggestion ( ) const

◆ GetUseColor()

bool Debugger::GetUseColor ( ) const

◆ GetUseExternalEditor()

bool Debugger::GetUseExternalEditor ( ) const

Definition at line 365 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by lldb_private::Thread::GetStatus().

◆ GetUseSourceCache()

bool Debugger::GetUseSourceCache ( ) const

Definition at line 427 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by SetPropertyValue().

◆ HandleBreakpointEvent()

void Debugger::HandleBreakpointEvent ( const lldb::EventSP &  event_sp)
protected

◆ HandleDiagnosticEvent()

void Debugger::HandleDiagnosticEvent ( const lldb::EventSP &  event_sp)
protected

◆ HandleProcessEvent()

void Debugger::HandleProcessEvent ( const lldb::EventSP &  event_sp)
protected

◆ HandleProgressEvent()

void Debugger::HandleProgressEvent ( const lldb::EventSP &  event_sp)
protected

◆ HandleThreadEvent()

void Debugger::HandleThreadEvent ( const lldb::EventSP &  event_sp)
protected

◆ HasIOHandlerThread()

bool Debugger::HasIOHandlerThread ( )
protected

◆ Initialize()

void Debugger::Initialize ( LoadPluginCallbackType  load_plugin_callback)
static

◆ InstanceInitialize()

void Debugger::InstanceInitialize ( )
protected

◆ IOHandlerThread()

lldb::thread_result_t Debugger::IOHandlerThread ( )
protected

Definition at line 1843 of file Debugger.cpp.

References RunIOHandlers(), and StopEventHandlerThread().

Referenced by StartIOHandlerThread().

◆ IsForwardingEvents()

bool Debugger::IsForwardingEvents ( )

Definition at line 1685 of file Debugger.cpp.

References m_forward_listener_sp.

Referenced by HandleProcessEvent().

◆ IsHandlingEvents()

bool lldb_private::Debugger::IsHandlingEvents ( ) const
inline

Definition at line 370 of file Debugger.h.

References lldb_private::HostThread::IsJoinable(), and m_event_handler_thread.

◆ IsTopIOHandler()

bool Debugger::IsTopIOHandler ( const lldb::IOHandlerSP &  reader_sp)

◆ JoinIOHandlerThread()

void Debugger::JoinIOHandlerThread ( )
protected

◆ LoadPlugin()

bool Debugger::LoadPlugin ( const FileSpec spec,
Status error 
)

Definition at line 583 of file Debugger.cpp.

References error(), g_load_plugin_callback, and m_loaded_plugins.

Referenced by LoadPluginCallback().

◆ operator=()

const Debugger & lldb_private::Debugger::operator= ( const Debugger )
privatedelete

◆ PopIOHandler()

bool Debugger::PopIOHandler ( const lldb::IOHandlerSP &  reader_sp)
protected

◆ PrintAsync()

void Debugger::PrintAsync ( const char *  s,
size_t  len,
bool  is_stdout 
)

◆ PrintProgress()

void lldb_private::Debugger::PrintProgress ( const ProgressEventData data)
protected

◆ PushIOHandler()

void Debugger::PushIOHandler ( const lldb::IOHandlerSP &  reader_sp,
bool  cancel_top_handler = true 
)
protected

◆ RemoveIOHandler()

bool Debugger::RemoveIOHandler ( const lldb::IOHandlerSP &  reader_sp)

Remove the given IO handler if it's currently active.

Definition at line 1089 of file Debugger.cpp.

References PopIOHandler().

Referenced by lldb_private::Process::PopProcessIOHandler().

◆ ReportDiagnosticImpl()

void Debugger::ReportDiagnosticImpl ( DiagnosticEventData::Type  type,
std::string  message,
std::optional< lldb::user_id_t debugger_id,
std::once_flag *  once 
)
staticprotected

◆ ReportError()

void Debugger::ReportError ( std::string  message,
std::optional< lldb::user_id_t debugger_id = std::nullopt,
std::once_flag *  once = nullptr 
)
static

Report error events.

Error events will be delivered to any debuggers that have listeners for the eBroadcastBitError.

Parameters
[in]messageThe error message to be reported.
[in]debugger_idIf this optional parameter has a value, it indicates the unique debugger identifier that this diagnostic should be delivered to. If this optional parameter does not have a value, the diagnostic event will be delivered to all debuggers.
[in]onceIf a pointer is passed to a std::once_flag, then it will be used to ensure the given error is only broadcast once.

Definition at line 1403 of file Debugger.cpp.

References lldb_private::DiagnosticEventData::Error, and ReportDiagnosticImpl().

Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::BuildDynamicRegisterInfo(), lldb_private::TargetProperties::CheckJITObjectsDir(), lldb_private::StructuredDataDarwinLog::EnableNow(), lldb_private::Function::GetBlock(), lldb_private::DWARFCallFrameInfo::GetFDEIndex(), lldb_private::Options::GetLongOptions(), lldb_private::PlatformMacOSX::GetSDKDirectory(), MachSymtabSectionInfo::GetSection(), GetXcodeSDKDir(), lldb_private::DWARFCallFrameInfo::ParseCIE(), ObjectFileMachO::ParseSymtab(), lldb_private::StopInfoBreakpoint::PerformAction(), lldb_private::StopInfoWatchpoint::PerformAction(), lldb_private::Module::RegisterXcodeSDK(), lldb_private::Module::ReportError(), lldb_private::Module::ReportErrorIfModifyDetected(), and lldb_private::CompactUnwindInfo::ScanIndex().

◆ ReportInfo()

void Debugger::ReportInfo ( std::string  message,
std::optional< lldb::user_id_t debugger_id = std::nullopt,
std::once_flag *  once = nullptr 
)
static

Report info events.

Unlike warning and error events, info events are not broadcast but are logged for diagnostic purposes.

Parameters
[in]messageThe info message to be reported.
[in]debugger_idIf this optional parameter has a value, it indicates this diagnostic is associated with a unique debugger instance.
[in]onceIf a pointer is passed to a std::once_flag, then it will be used to ensure the given info is only logged once.

Definition at line 1410 of file Debugger.cpp.

References lldb_private::DiagnosticEventData::Info, and ReportDiagnosticImpl().

◆ ReportProgress()

void Debugger::ReportProgress ( uint64_t  progress_id,
const std::string &  message,
uint64_t  completed,
uint64_t  total,
std::optional< lldb::user_id_t debugger_id 
)
staticprotected

Report progress events.

Progress events will be delivered to any debuggers that have listeners for the eBroadcastBitProgress. This function is called by the lldb_private::Progress class to deliver the events to any debuggers that qualify.

Parameters
[in]progress_idThe unique integer identifier for the progress to report.
[in]messageThe title of the progress dialog to display in the UI.
[in]completedThe amount of work completed. If completed is zero, then this event is a progress started event. If completed is equal to total, then this event is a progress end event. Otherwise completed indicates the current progress compare to the total value.
[in]totalThe total amount of work units that need to be completed. If this value is UINT64_MAX, then an indeterminate progress indicator should be displayed.
[in]debugger_idIf this optional parameter has a value, it indicates the unique debugger identifier that this progress should be delivered to. If this optional parameter does not have a value, the progress will be delivered to all debuggers.

Definition at line 1302 of file Debugger.cpp.

References FindDebuggerWithID(), g_debugger_list_mutex_ptr, g_debugger_list_ptr, and PrivateReportProgress().

Referenced by lldb_private::Progress::ReportProgress().

◆ ReportSymbolChange()

void Debugger::ReportSymbolChange ( const ModuleSpec module_spec)
static

◆ ReportWarning()

void Debugger::ReportWarning ( std::string  message,
std::optional< lldb::user_id_t debugger_id = std::nullopt,
std::once_flag *  once = nullptr 
)
static

Report warning events.

Warning events will be delivered to any debuggers that have listeners for the eBroadcastBitWarning.

Parameters
[in]messageThe warning message to be reported.
[in]debugger_idIf this optional parameter has a value, it indicates the unique debugger identifier that this diagnostic should be delivered to. If this optional parameter does not have a value, the diagnostic event will be delivered to all debuggers.
[in]onceIf a pointer is passed to a std::once_flag, then it will be used to ensure the given warning is only broadcast once.

Definition at line 1396 of file Debugger.cpp.

References ReportDiagnosticImpl(), and lldb_private::DiagnosticEventData::Warning.

Referenced by lldb_private::minidump::ProcessMinidump::DoLoadCore(), lldb_private::MemoryHistoryASan::GetHistoryThreads(), lldb_private::SymbolContext::GetParentOfInlinedScope(), DynamicLoaderMacOS::NotifyBreakpointHit(), DynamicLoaderMacOSXDYLD::NotifyBreakpointHit(), lldb_private::StopInfoBreakpoint::PerformAction(), lldb_private::Module::ReportWarning(), lldb_private::Module::ReportWarningOptimization(), lldb_private::Module::ReportWarningUnsupportedLanguage(), lldb_private::InstrumentationRuntimeASan::RetrieveReportData(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), lldb_private::InstrumentationRuntimeUBSan::RetrieveReportData(), lldb_private::DynamicLoaderDarwin::UnloadModuleSections(), lldb_private::AppleObjCRuntimeV2::WarnIfNoClassesCached(), and lldb_private::AppleObjCRuntimeV2::WarnIfNoExpandedSharedCache().

◆ RestoreInputTerminalState()

void Debugger::RestoreInputTerminalState ( )

Definition at line 967 of file Debugger.cpp.

References m_terminal_state.

◆ RunIOHandlerAsync()

void Debugger::RunIOHandlerAsync ( const lldb::IOHandlerSP &  reader_sp,
bool  cancel_top_handler = true 
)

◆ RunIOHandlers()

void Debugger::RunIOHandlers ( )

◆ RunIOHandlerSync()

void Debugger::RunIOHandlerSync ( const lldb::IOHandlerSP &  reader_sp)

◆ RunREPL()

Status Debugger::RunREPL ( lldb::LanguageType  language,
const char *  repl_options 
)

◆ SaveInputTerminalState()

void Debugger::SaveInputTerminalState ( )

◆ SetAsyncExecution()

void Debugger::SetAsyncExecution ( bool  async)

◆ SetAutoIndent()

bool Debugger::SetAutoIndent ( bool  b)

Definition at line 508 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

◆ SetCloseInputOnEOF()

void Debugger::SetCloseInputOnEOF ( bool  b)

Definition at line 877 of file Debugger.cpp.

◆ SetErrorFile()

void Debugger::SetErrorFile ( lldb::FileSP  file)

Definition at line 956 of file Debugger.cpp.

References m_error_stream_sp.

◆ SetInputFile()

void Debugger::SetInputFile ( lldb::FileSP  file)

Definition at line 943 of file Debugger.cpp.

References m_input_file_sp, and SaveInputTerminalState().

Referenced by SetInputString().

◆ SetInputString()

Status Debugger::SetInputString ( const char *  data)

◆ SetLoggingCallback()

void Debugger::SetLoggingCallback ( lldb::LogOutputCallback  log_callback,
void *  baton 
)

Definition at line 1279 of file Debugger.cpp.

References m_callback_handler_sp.

◆ SetOutputFile()

void Debugger::SetOutputFile ( lldb::FileSP  file)

Definition at line 951 of file Debugger.cpp.

References m_output_stream_sp.

◆ SetPrintDecls()

bool Debugger::SetPrintDecls ( bool  b)

Definition at line 518 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

◆ SetPrompt() [1/2]

void lldb_private::Debugger::SetPrompt ( const char *  )
delete

◆ SetPrompt() [2/2]

void Debugger::SetPrompt ( llvm::StringRef  p)

◆ SetPropertyValue()

Status Debugger::SetPropertyValue ( const ExecutionContext exe_ctx,
VarSetOperationType  op,
llvm::StringRef  property_path,
llvm::StringRef  value 
)
overridevirtual

◆ SetREPLLanguage()

bool Debugger::SetREPLLanguage ( lldb::LanguageType  repl_lang)

Definition at line 346 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

◆ SetScriptLanguage()

bool Debugger::SetScriptLanguage ( lldb::ScriptLanguage  script_lang)

Definition at line 331 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

◆ SetShowProgress()

bool Debugger::SetShowProgress ( bool  show_progress)

Definition at line 395 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by lldb_private::REPL::REPL().

◆ SetTabSize()

bool Debugger::SetTabSize ( uint32_t  tab_size)

Definition at line 529 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

◆ SetTerminalWidth()

bool Debugger::SetTerminalWidth ( uint32_t  term_width)

◆ SettingsInitialize()

void Debugger::SettingsInitialize ( )
static

◆ SettingsTerminate()

void Debugger::SettingsTerminate ( )
static

◆ SetUseColor()

bool Debugger::SetUseColor ( bool  use_color)

Definition at line 382 of file Debugger.cpp.

References GetPrompt(), lldb_private::Properties::m_collection_sp, and SetPrompt().

Referenced by Debugger().

◆ SetUseExternalEditor()

bool Debugger::SetUseExternalEditor ( bool  use_external_editor_p)

Definition at line 371 of file Debugger.cpp.

References lldb_private::Properties::m_collection_sp.

◆ SetUseSourceCache()

bool Debugger::SetUseSourceCache ( bool  use_source_cache)

◆ StartEventHandlerThread()

bool Debugger::StartEventHandlerThread ( )
protected

◆ StartIOHandlerThread()

bool Debugger::StartIOHandlerThread ( )
protected

◆ StopEventHandlerThread()

void Debugger::StopEventHandlerThread ( )
protected

◆ StopIOHandlerThread()

void Debugger::StopIOHandlerThread ( )
protected

◆ Terminate()

void Debugger::Terminate ( )
static

Friends And Related Function Documentation

◆ CommandInterpreter

friend class CommandInterpreter
friend

Definition at line 454 of file Debugger.h.

◆ Progress

friend class Progress
friend

Definition at line 456 of file Debugger.h.

◆ REPL

friend class REPL
friend

Definition at line 455 of file Debugger.h.

◆ SourceManager

friend class SourceManager
friend

Definition at line 78 of file Debugger.h.

Member Data Documentation

◆ g_load_plugin_callback

LoadPluginCallbackType Debugger::g_load_plugin_callback = nullptr
staticprotected

Definition at line 582 of file Debugger.h.

Referenced by Initialize(), and LoadPlugin().

◆ m_broadcaster

Broadcaster lldb_private::Debugger::m_broadcaster
protected

Public Debugger event broadcaster.

Definition at line 588 of file Debugger.h.

Referenced by DefaultEventHandler(), and GetBroadcaster().

◆ m_broadcaster_manager_sp

lldb::BroadcasterManagerSP lldb_private::Debugger::m_broadcaster_manager_sp
protected

Definition at line 548 of file Debugger.h.

Referenced by Clear(), DefaultEventHandler(), and GetBroadcasterManager().

◆ m_callback_handler_sp

std::shared_ptr<CallbackLogHandler> lldb_private::Debugger::m_callback_handler_sp
protected

Definition at line 580 of file Debugger.h.

Referenced by Debugger(), EnableLog(), and SetLoggingCallback().

◆ m_clear_once

llvm::once_flag lldb_private::Debugger::m_clear_once
protected

Definition at line 590 of file Debugger.h.

Referenced by Clear().

◆ m_command_interpreter_up

std::unique_ptr<CommandInterpreter> lldb_private::Debugger::m_command_interpreter_up
protected

◆ m_current_event_id

std::optional<uint64_t> lldb_private::Debugger::m_current_event_id
protected

Definition at line 577 of file Debugger.h.

Referenced by HandleProgressEvent().

◆ m_dummy_target_sp

lldb::TargetSP lldb_private::Debugger::m_dummy_target_sp
protected

Definition at line 591 of file Debugger.h.

Referenced by Debugger(), and GetDummyTarget().

◆ m_error_stream_sp

lldb::StreamFileSP lldb_private::Debugger::m_error_stream_sp
protected

Definition at line 543 of file Debugger.h.

Referenced by GetErrorFile(), GetErrorStream(), GetErrorStreamSP(), PrintAsync(), and SetErrorFile().

◆ m_event_handler_thread

HostThread lldb_private::Debugger::m_event_handler_thread
protected

Definition at line 585 of file Debugger.h.

Referenced by IsHandlingEvents(), StartEventHandlerThread(), and StopEventHandlerThread().

◆ m_forward_listener_sp

lldb::ListenerSP lldb_private::Debugger::m_forward_listener_sp
protected

◆ m_input_file_sp

lldb::FileSP lldb_private::Debugger::m_input_file_sp
protected

Definition at line 541 of file Debugger.h.

Referenced by GetInputFile(), GetInputFileSP(), and SetInputFile().

◆ m_input_recorder

repro::DataRecorder* lldb_private::Debugger::m_input_recorder
protected

Used for shadowing the input file when capturing a reproducer.

Definition at line 546 of file Debugger.h.

Referenced by GetInputRecorder().

◆ m_instance_name

ConstString lldb_private::Debugger::m_instance_name
protected

Definition at line 581 of file Debugger.h.

Referenced by Debugger(), and GetInstanceName().

◆ m_io_handler_stack

IOHandlerStack lldb_private::Debugger::m_io_handler_stack
protected

◆ m_io_handler_synchronous_mutex

std::recursive_mutex lldb_private::Debugger::m_io_handler_synchronous_mutex
protected

Definition at line 575 of file Debugger.h.

Referenced by RunIOHandlers(), and RunIOHandlerSync().

◆ m_io_handler_thread

HostThread lldb_private::Debugger::m_io_handler_thread
protected

◆ m_listener_sp

lldb::ListenerSP lldb_private::Debugger::m_listener_sp
protected

Definition at line 558 of file Debugger.h.

Referenced by Clear(), and GetListener().

◆ m_loaded_plugins

LoadedPluginsList lldb_private::Debugger::m_loaded_plugins
protected

Definition at line 584 of file Debugger.h.

Referenced by LoadPlugin().

◆ m_output_flush_mutex

std::mutex lldb_private::Debugger::m_output_flush_mutex
protected

Definition at line 530 of file Debugger.h.

Referenced by FlushProcessOutput().

◆ m_output_stream_sp

lldb::StreamFileSP lldb_private::Debugger::m_output_stream_sp
protected

◆ m_platform_list

PlatformList lldb_private::Debugger::m_platform_list
protected

Definition at line 557 of file Debugger.h.

Referenced by Debugger(), and GetPlatformList().

◆ m_script_interpreter_mutex

std::recursive_mutex lldb_private::Debugger::m_script_interpreter_mutex
protected

Definition at line 570 of file Debugger.h.

Referenced by GetScriptInterpreter().

◆ m_script_interpreters

std::array<lldb::ScriptInterpreterSP, lldb::eScriptLanguageUnknown> lldb_private::Debugger::m_script_interpreters
protected

Definition at line 572 of file Debugger.h.

Referenced by GetScriptInterpreter().

◆ m_source_file_cache

SourceManager::SourceFileCache lldb_private::Debugger::m_source_file_cache
protected

Definition at line 563 of file Debugger.h.

Referenced by GetSourceFileCache(), SetPropertyValue(), and SetUseSourceCache().

◆ m_source_manager_up

std::unique_ptr<SourceManager> lldb_private::Debugger::m_source_manager_up
protected

Definition at line 559 of file Debugger.h.

Referenced by GetSourceManager().

◆ m_stream_handlers

llvm::StringMap<std::weak_ptr<LogHandler> > lldb_private::Debugger::m_stream_handlers
protected

Definition at line 579 of file Debugger.h.

Referenced by EnableLog().

◆ m_sync_broadcaster

Broadcaster lldb_private::Debugger::m_sync_broadcaster
protected

Private debugger synchronization.

Definition at line 587 of file Debugger.h.

Referenced by DefaultEventHandler(), and StartEventHandlerThread().

◆ m_target_list

TargetList lldb_private::Debugger::m_target_list
protected

Definition at line 555 of file Debugger.h.

Referenced by Clear(), GetSelectedOrDummyTarget(), GetSelectedTarget(), and GetTargetList().

◆ m_terminal_state

TerminalState lldb_private::Debugger::m_terminal_state
protected

Definition at line 554 of file Debugger.h.

Referenced by Clear(), RestoreInputTerminalState(), and SaveInputTerminalState().


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