LLDB mainline
Public Member Functions | Public Attributes | List of all members
lldb_private::Watchpoint::WatchpointVariableContext Struct Reference

Represents the context of a watchpoint variable. More...

#include <Watchpoint.h>

Public Member Functions

 WatchpointVariableContext (lldb::watch_id_t watch_id, ExecutionContext exe_ctx)
 Constructor for WatchpointVariableContext.
 

Public Attributes

lldb::watch_id_t watch_id
 The ID of the watchpoint.
 
ExecutionContext exe_ctx
 The execution context associated with the watchpoint.
 

Detailed Description

Represents the context of a watchpoint variable.

This struct encapsulates the information related to a watchpoint variable, including the watch ID and the execution context in which it is being used. This struct is passed as a Baton to the VariableWatchpointDisabler breakpoint callback.

Definition at line 100 of file Watchpoint.h.

Constructor & Destructor Documentation

◆ WatchpointVariableContext()

lldb_private::Watchpoint::WatchpointVariableContext::WatchpointVariableContext ( lldb::watch_id_t  watch_id,
ExecutionContext  exe_ctx 
)
inline

Constructor for WatchpointVariableContext.

Parameters
watch_idThe ID of the watchpoint.
exe_ctxThe execution context associated with the watchpoint.

Definition at line 104 of file Watchpoint.h.

Member Data Documentation

◆ exe_ctx

ExecutionContext lldb_private::Watchpoint::WatchpointVariableContext::exe_ctx

The execution context associated with the watchpoint.

Definition at line 110 of file Watchpoint.h.

Referenced by lldb_private::Watchpoint::VariableWatchpointDisabler().

◆ watch_id

lldb::watch_id_t lldb_private::Watchpoint::WatchpointVariableContext::watch_id

The ID of the watchpoint.

Definition at line 108 of file Watchpoint.h.

Referenced by lldb_private::Watchpoint::VariableWatchpointDisabler().


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