LLDB mainline
|
Public Member Functions | |
StopInfoBreakpoint (Thread &thread, break_id_t break_id) | |
StopInfoBreakpoint (Thread &thread, break_id_t break_id, bool should_stop) | |
~StopInfoBreakpoint () override=default | |
void | StoreBPInfo () |
bool | IsValidForOperatingSystemThread (Thread &thread) override |
StopReason | GetStopReason () const override |
bool | ShouldStopSynchronous (Event *event_ptr) override |
bool | DoShouldNotify (Event *event_ptr) override |
const char * | GetDescription () override |
Public Member Functions inherited from lldb_private::StopInfo | |
StopInfo (Thread &thread, uint64_t value) | |
virtual | ~StopInfo ()=default |
bool | IsValid () const |
void | SetThread (const lldb::ThreadSP &thread_sp) |
lldb::ThreadSP | GetThread () const |
uint64_t | GetValue () const |
virtual lldb::StopReason | GetStopReason () const =0 |
virtual bool | ShouldStopSynchronous (Event *event_ptr) |
void | OverrideShouldNotify (bool override_value) |
virtual bool | ShouldNotify (Event *event_ptr) |
virtual void | WillResume (lldb::StateType resume_state) |
virtual const char * | GetDescription () |
virtual void | SetDescription (const char *desc_cstr) |
virtual bool | IsValidForOperatingSystemThread (Thread &thread) |
virtual bool | WasContinueInterrupted (Thread &thread) |
A Continue operation can result in a false stop event before any execution has happened. | |
void | OverrideShouldStop (bool override_value) |
bool | GetOverrideShouldStop () |
bool | GetOverriddenShouldStopValue () |
StructuredData::ObjectSP | GetExtendedInfo () |
Protected Member Functions | |
bool | ShouldStop (Event *event_ptr) override |
void | PerformAction (Event *event_ptr) override |
Protected Member Functions inherited from lldb_private::StopInfo | |
virtual void | PerformAction (Event *event_ptr) |
virtual bool | DoShouldNotify (Event *event_ptr) |
virtual bool | ShouldStop (Event *event_ptr) |
bool | HasTargetRunSinceMe () |
void | MakeStopInfoValid () |
Private Attributes | |
bool | m_should_stop |
bool | m_should_stop_is_valid |
bool | m_should_perform_action |
lldb::addr_t | m_address |
lldb::break_id_t | m_break_id |
bool | m_was_all_internal |
bool | m_was_one_shot |
Definition at line 87 of file StopInfo.cpp.
|
inline |
Definition at line 89 of file StopInfo.cpp.
References StoreBPInfo().
|
inline |
Definition at line 97 of file StopInfo.cpp.
References StoreBPInfo().
|
overridedefault |
|
inlineoverridevirtual |
Reimplemented from lldb_private::StopInfo.
Definition at line 180 of file StopInfo.cpp.
References m_was_all_internal.
|
inlineoverridevirtual |
Reimplemented from lldb_private::StopInfo.
Definition at line 184 of file StopInfo.cpp.
References lldb::eDescriptionLevelBrief, lldb_private::StreamString::GetString(), LLDB_INVALID_ADDRESS, LLDB_INVALID_BREAK_ID, m_address, m_break_id, lldb_private::StopInfo::m_description, lldb_private::StopInfo::m_thread_wp, lldb_private::StopInfo::m_value, m_was_one_shot, and lldb_private::Stream::Printf().
|
inlineoverridevirtual |
Implements lldb_private::StopInfo.
Definition at line 149 of file StopInfo.cpp.
References lldb::eStopReasonBreakpoint.
|
inlineoverridevirtual |
Reimplemented from lldb_private::StopInfo.
Definition at line 138 of file StopInfo.cpp.
References lldb_private::Thread::GetProcess(), and lldb_private::StopInfo::m_value.
|
inlineoverrideprotectedvirtual |
Reimplemented from lldb_private::StopInfo.
Definition at line 258 of file StopInfo.cpp.
References lldb_private::Status::AsCString(), lldb_private::Breakpoints, lldb::eDescriptionLevelBrief, lldb_private::eVoteYes, lldb_private::Debugger::GetAsyncExecution(), lldb_private::BreakpointLocationCollection::GetByIndex(), lldb_private::StreamString::GetData(), lldb_private::Target::GetDebugger(), lldb_private::UserID::GetID(), lldb_private::ProcessProperties::GetIgnoreBreakpointsInExpressions(), lldb_private::GetLog(), lldb_private::Process::GetModIDRef(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::StreamString::GetString(), lldb_private::Process::GetTarget(), lldb_private::ExecutionContext::GetTargetRef(), lldb_private::StopInfo::GetThread(), lldb_private::StopInfo::HasTargetRunSinceMe(), lldb_private::ProcessModID::IsRunningExpression(), LLDB_LOGF, m_should_perform_action, m_should_stop, m_should_stop_is_valid, lldb_private::StopInfo::m_thread_wp, lldb_private::StopInfo::m_value, m_was_all_internal, lldb_private::Process, lldb_private::Debugger::ReportError(), lldb_private::Debugger::ReportWarning(), lldb_private::Debugger::SetAsyncExecution(), lldb_private::Step, and lldb_private::Status::Success().
|
inlineoverrideprotectedvirtual |
Reimplemented from lldb_private::StopInfo.
Definition at line 250 of file StopInfo.cpp.
References m_should_stop, and m_should_stop_is_valid.
|
inlineoverridevirtual |
Reimplemented from lldb_private::StopInfo.
Definition at line 151 of file StopInfo.cpp.
References lldb_private::GetLog(), LLDB_LOGF, m_should_stop, m_should_stop_is_valid, lldb_private::StopInfo::m_thread_wp, lldb_private::StopInfo::m_value, and lldb_private::Process.
|
inline |
Definition at line 107 of file StopInfo.cpp.
References lldb_private::Stoppoint::GetID(), lldb_private::Breakpoint::IsInternal(), lldb_private::Breakpoint::IsOneShot(), m_address, m_break_id, lldb_private::StopInfo::m_thread_wp, lldb_private::StopInfo::m_value, m_was_all_internal, and m_was_one_shot.
Referenced by StopInfoBreakpoint().
|
private |
Definition at line 617 of file StopInfo.cpp.
Referenced by GetDescription(), and StoreBPInfo().
|
private |
Definition at line 621 of file StopInfo.cpp.
Referenced by GetDescription(), and StoreBPInfo().
|
private |
Definition at line 613 of file StopInfo.cpp.
Referenced by PerformAction().
|
private |
Definition at line 611 of file StopInfo.cpp.
Referenced by PerformAction(), ShouldStop(), and ShouldStopSynchronous().
|
private |
Definition at line 612 of file StopInfo.cpp.
Referenced by PerformAction(), ShouldStop(), and ShouldStopSynchronous().
|
private |
Definition at line 622 of file StopInfo.cpp.
Referenced by DoShouldNotify(), PerformAction(), and StoreBPInfo().
|
private |
Definition at line 623 of file StopInfo.cpp.
Referenced by GetDescription(), and StoreBPInfo().