LLDB mainline
|
#include <Target.h>
Private Member Functions | |
StopHookScripted (lldb::TargetSP target_sp, lldb::user_id_t uid) | |
Use CreateStopHook to make a new empty stop hook. | |
Private Attributes | |
std::string | m_class_name |
StructuredDataImpl | m_extra_args |
This holds the dictionary of keys & values that can be used to parametrize any given callback's behavior. | |
lldb::ScriptedStopHookInterfaceSP | m_interface_sp |
Friends | |
class | Target |
Additional Inherited Members | |
Public Types inherited from lldb_private::Target::StopHook | |
enum class | StopHookKind : uint32_t { CommandBased = 0 , ScriptBased } |
enum class | StopHookResult : uint32_t { KeepStopped = 0 , RequestContinue , AlreadyContinued } |
Protected Member Functions inherited from lldb_private::Target::StopHook | |
StopHook (lldb::TargetSP target_sp, lldb::user_id_t uid) | |
Protected Attributes inherited from lldb_private::Target::StopHook | |
lldb::TargetSP | m_target_sp |
lldb::SymbolContextSpecifierSP | m_specifier_sp |
std::unique_ptr< ThreadSpec > | m_thread_spec_up |
bool | m_active = true |
bool | m_auto_continue = false |
Protected Attributes inherited from lldb_private::UserID | |
lldb::user_id_t | m_uid |
The user ID that uniquely identifies an object. | |
|
overridedefault |
|
inlineprivate |
|
overridevirtual |
Implements lldb_private::Target::StopHook.
Definition at line 4014 of file Target.cpp.
References lldb::eDescriptionLevelBrief, lldb_private::StructuredData::Dictionary::ForEach(), lldb_private::Stream::Format(), lldb_private::StructuredData::Object::GetAsDictionary(), lldb_private::Stream::GetIndentLevel(), lldb_private::StructuredData::Dictionary::GetSize(), lldb_private::Stream::Indent(), lldb_private::StructuredData::Object::IsValid(), lldb_private::Stream::Printf(), lldb_private::Stream::PutCString(), and lldb_private::Stream::SetIndentLevel().
|
overridevirtual |
Implements lldb_private::Target::StopHook.
Definition at line 3995 of file Target.cpp.
References lldb_private::StreamString::GetData(), and lldb_private::ExecutionContext::GetTargetPtr().
Status Target::StopHookScripted::SetScriptCallback | ( | std::string | class_name, |
StructuredData::ObjectSP | extra_args_sp | ||
) |
Definition at line 3955 of file Target.cpp.
References lldb_private::ScriptInterpreter::CreateScriptedStopHookInterface(), error(), lldb_private::Status::FromError(), lldb_private::Status::FromErrorString(), and lldb_private::Status::FromErrorStringWithFormat().
|
private |
|
private |
|
private |