LLDB mainline
lldb_private::NativeDebugDelegate Class Reference

#include <NativeProcessWindows.h>

Inheritance diagram for lldb_private::NativeDebugDelegate:
[legend]

Public Member Functions

 NativeDebugDelegate (NativeProcessWindows &process)
void OnExitProcess (uint32_t exit_code) override
void OnDebuggerConnected (lldb::addr_t image_base) override
ExceptionResult OnDebugException (bool first_chance, const ExceptionRecord &record) override
void OnCreateThread (const HostThread &thread) override
void OnExitThread (lldb::tid_t thread_id, uint32_t exit_code) override
DllEventAction OnLoadDll (const lldb_private::ModuleSpec &module_spec, lldb::addr_t module_addr, lldb::tid_t thread_id) override
DllEventAction OnUnloadDll (lldb::addr_t module_addr, lldb::tid_t thread_id) override
void OnDebugString (lldb::addr_t debug_string_addr, bool is_unicode, uint16_t length_lower_word) override
void OnDebuggerError (const Status &error, uint32_t type) override
bool HasDeferredStop () override
 Whether the delegate has a stop that it recorded but has not reported to its client yet.
void ReportDeferredStop () override
 Report the stop the delegate holds, if any.
Public Member Functions inherited from lldb_private::IDebugDelegate
virtual ~IDebugDelegate ()=default

Private Attributes

NativeProcessWindows & m_process

Detailed Description

Definition at line 236 of file NativeProcessWindows.h.

Constructor & Destructor Documentation

◆ NativeDebugDelegate()

lldb_private::NativeDebugDelegate::NativeDebugDelegate ( NativeProcessWindows & process)
inline

Definition at line 238 of file NativeProcessWindows.h.

References m_process.

Member Function Documentation

◆ HasDeferredStop()

bool lldb_private::NativeDebugDelegate::HasDeferredStop ( )
inlineoverridevirtual

Whether the delegate has a stop that it recorded but has not reported to its client yet.

While this is true, DebuggerThread keeps taking the debug events that are already queued, so they are reported in the same stop.

Reimplemented from lldb_private::IDebugDelegate.

Definition at line 281 of file NativeProcessWindows.h.

References m_process.

◆ OnCreateThread()

void lldb_private::NativeDebugDelegate::OnCreateThread ( const HostThread & thread)
inlineoverridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 253 of file NativeProcessWindows.h.

References m_process.

◆ OnDebugException()

ExceptionResult lldb_private::NativeDebugDelegate::OnDebugException ( bool first_chance,
const ExceptionRecord & record )
inlineoverridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 248 of file NativeProcessWindows.h.

References m_process.

◆ OnDebuggerConnected()

void lldb_private::NativeDebugDelegate::OnDebuggerConnected ( lldb::addr_t image_base)
inlineoverridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 244 of file NativeProcessWindows.h.

References m_process.

◆ OnDebuggerError()

void lldb_private::NativeDebugDelegate::OnDebuggerError ( const Status & error,
uint32_t type )
inlineoverridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 277 of file NativeProcessWindows.h.

References error(), and m_process.

◆ OnDebugString()

void lldb_private::NativeDebugDelegate::OnDebugString ( lldb::addr_t debug_string_addr,
bool is_unicode,
uint16_t length_lower_word )
inlineoverridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 272 of file NativeProcessWindows.h.

References m_process.

◆ OnExitProcess()

void lldb_private::NativeDebugDelegate::OnExitProcess ( uint32_t exit_code)
inlineoverridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 240 of file NativeProcessWindows.h.

References m_process.

◆ OnExitThread()

void lldb_private::NativeDebugDelegate::OnExitThread ( lldb::tid_t thread_id,
uint32_t exit_code )
inlineoverridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 257 of file NativeProcessWindows.h.

References m_process.

◆ OnLoadDll()

DllEventAction lldb_private::NativeDebugDelegate::OnLoadDll ( const lldb_private::ModuleSpec & module_spec,
lldb::addr_t module_addr,
lldb::tid_t thread_id )
inlineoverridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 261 of file NativeProcessWindows.h.

References m_process.

◆ OnUnloadDll()

DllEventAction lldb_private::NativeDebugDelegate::OnUnloadDll ( lldb::addr_t module_addr,
lldb::tid_t thread_id )
inlineoverridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 267 of file NativeProcessWindows.h.

References m_process.

◆ ReportDeferredStop()

void lldb_private::NativeDebugDelegate::ReportDeferredStop ( )
inlineoverridevirtual

Report the stop the delegate holds, if any.

Reimplemented from lldb_private::IDebugDelegate.

Definition at line 283 of file NativeProcessWindows.h.

References m_process.

Member Data Documentation

◆ m_process


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