|
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 , CodeBased } |
| enum class | StopHookResult : uint32_t { KeepStopped = 0 , RequestContinue , NoPreference , 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 |
| bool | m_at_initial_stop = true |
| bool | m_suppress_output = false |
| Protected Attributes inherited from lldb_private::UserID | |
| lldb::user_id_t | m_uid |
| The user ID that uniquely identifies an object. | |
|
overridedefault |
|
inlineprivate |
Use CreateStopHook to make a new empty stop hook.
Use SetScriptCallback to set the script to execute, and SetSpecifier to set the specifier shared pointer (can be null, that will match anything.)
Definition at line 1616 of file Target.h.
References lldb_private::Target::StopHook::StopHook().
|
overridevirtual |
Implements lldb_private::Target::StopHook.
Definition at line 4213 of file Target.cpp.
References lldb::eDescriptionLevelBrief, lldb_private::StructuredData::Dictionary::ForEach(), lldb_private::Stream::Format(), lldb_private::StructuredData::Dictionary::GetSize(), lldb_private::Stream::Indent(), lldb_private::StructuredData::Object::IsValid(), m_class_name, m_extra_args, lldb_private::Stream::MakeIndentScope(), lldb_private::Stream::Printf(), and lldb_private::Stream::PutCString().
|
overridevirtual |
Implements lldb_private::Target::StopHook.
Definition at line 4194 of file Target.cpp.
References lldb_private::StreamString::GetData(), lldb_private::ExecutionContext::GetTargetPtr(), lldb_private::Target::StopHook::KeepStopped, m_interface_sp, and lldb_private::Target::StopHook::RequestContinue.
| Status Target::StopHookScripted::SetScriptCallback | ( | std::string | class_name, |
| StructuredData::ObjectSP | extra_args_sp ) |
Definition at line 4154 of file Target.cpp.
References lldb_private::ScriptInterpreter::CreateScriptedStopHookInterface(), error(), lldb_private::Status::FromError(), lldb_private::Status::FromErrorString(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::Target::StopHook::GetTarget(), m_class_name, m_extra_args, and m_interface_sp.
|
friend |
|
private |
Definition at line 1607 of file Target.h.
Referenced by GetSubclassDescription(), and SetScriptCallback().
|
private |
This holds the dictionary of keys & values that can be used to parametrize any given callback's behavior.
Definition at line 1610 of file Target.h.
Referenced by GetSubclassDescription(), and SetScriptCallback().
|
private |
Definition at line 1611 of file Target.h.
Referenced by HandleStop(), and SetScriptCallback().