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. | |
StructuredData::GenericSP | m_implementation_sp |
This holds the python callback object. | |
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 3881 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 3864 of file Target.cpp.
References lldb_private::ExecutionContext::GetTargetPtr(), and lldb_private::ScriptInterpreter::ScriptedStopHookHandleStop().
Status Target::StopHookScripted::SetScriptCallback | ( | std::string | class_name, |
StructuredData::ObjectSP | extra_args_sp | ||
) |
Definition at line 3843 of file Target.cpp.
References lldb_private::ScriptInterpreter::CreateScriptedStopHook(), and error().
|
private |
|
private |
|
private |