LLDB mainline
|
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 | |
Event * | event = nullptr |
ExecutionContextRef | exe_ctx_ref |
bool | is_synchronous |
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.
|
default |
StoppointCallbackContext::StoppointCallbackContext | ( | Event * | event, |
const ExecutionContext & | exe_ctx, | ||
bool | synchronously = false |
||
) |
Definition at line 15 of file StoppointCallbackContext.cpp.
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.
Event* lldb_private::StoppointCallbackContext::event = nullptr |
Definition at line 40 of file StoppointCallbackContext.h.
ExecutionContextRef lldb_private::StoppointCallbackContext::exe_ctx_ref |
Definition at line 43 of file StoppointCallbackContext.h.
Referenced by lldb_private::ScriptInterpreterLua::BreakpointCallbackFunction(), lldb_private::BreakpointOptions::BreakpointOptionsCallbackFunction(), Clear(), lldb_private::StructuredDataDarwinLog::InitCompletionHookCallback(), lldb_private::ReportRetriever::NotifyBreakpointHit(), DynamicLoaderMacOS::NotifyBreakpointHit(), DynamicLoaderMacOSXDYLD::NotifyBreakpointHit(), lldb_private::InstrumentationRuntimeMainThreadChecker::NotifyBreakpointHit(), lldb_private::InstrumentationRuntimeTSan::NotifyBreakpointHit(), lldb_private::InstrumentationRuntimeUBSan::NotifyBreakpointHit(), lldb::SBBreakpointCallbackBaton::PrivateBreakpointHitCallback(), lldb_private::AppleObjCTrampolineHandler::AppleObjCVTables::RefreshTrampolines(), lldb_private::Watchpoint::VariableWatchpointDisabler(), and lldb_private::ScriptInterpreterLua::WatchpointCallbackFunction().
bool lldb_private::StoppointCallbackContext::is_synchronous |
Definition at line 44 of file StoppointCallbackContext.h.
Referenced by Clear(), lldb_private::BreakpointOptions::InvokeCallback(), lldb_private::WatchpointOptions::InvokeCallback(), and lldb_private::BreakpointLocation::ShouldStop().