LLDB mainline
Public Member Functions | Public Attributes | List of all members
lldb_private::StoppointCallbackContext Class Reference

General Outline: When we hit a breakpoint we need to package up whatever information is needed to evaluate breakpoint commands and conditions. More...

#include <StoppointCallbackContext.h>

Public Member Functions

 StoppointCallbackContext ()
 
 StoppointCallbackContext (Event *event, const ExecutionContext &exe_ctx, bool synchronously=false)
 
void Clear ()
 Clear the object's state.
 

Public Attributes

Eventevent = nullptr
 
ExecutionContextRef exe_ctx_ref
 
bool is_synchronous
 

Detailed Description

General Outline: When we hit a breakpoint we need to package up whatever information is needed to evaluate breakpoint commands and conditions.

"lldb/Breakpoint/StoppointCallbackContext.h" Class holds the information that a breakpoint callback needs to evaluate this stop.

This class is the container of that information.

Definition at line 26 of file StoppointCallbackContext.h.

Constructor & Destructor Documentation

◆ StoppointCallbackContext() [1/2]

StoppointCallbackContext::StoppointCallbackContext ( )
default

◆ StoppointCallbackContext() [2/2]

StoppointCallbackContext::StoppointCallbackContext ( Event event,
const ExecutionContext exe_ctx,
bool  synchronously = false 
)

Definition at line 15 of file StoppointCallbackContext.cpp.

Member Function Documentation

◆ Clear()

void StoppointCallbackContext::Clear ( )

Clear the object's state.

Sets the event, process and thread to NULL, and the frame index to an invalid value.

Definition at line 19 of file StoppointCallbackContext.cpp.

References lldb_private::ExecutionContextRef::Clear(), exe_ctx_ref, and is_synchronous.

Member Data Documentation

◆ event

Event* lldb_private::StoppointCallbackContext::event = nullptr

Definition at line 40 of file StoppointCallbackContext.h.

◆ exe_ctx_ref

ExecutionContextRef lldb_private::StoppointCallbackContext::exe_ctx_ref

◆ is_synchronous

bool lldb_private::StoppointCallbackContext::is_synchronous

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