10#ifndef LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_INTERFACES_SCRIPTEDBREAKPOINTPYTHONINTERFACE_H
11#define LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_INTERFACES_SCRIPTEDBREAKPOINTPYTHONINTERFACE_H
13#include "lldb/Host/Config.h"
22 public ScriptedPythonInterface,
25 ScriptedBreakpointPythonInterface(ScriptInterpreterPythonImpl &interpreter);
27 llvm::Expected<StructuredData::GenericSP>
29 const StructuredDataImpl &args_sp)
override;
31 llvm::SmallVector<AbstractMethodRequirement>
32 GetAbstractMethodRequirements()
const override {
33 return llvm::SmallVector<AbstractMethodRequirement>({{
"__callback__", 2}});
36 bool ResolverCallback(SymbolContext sym_ctx)
override;
38 std::optional<std::string> GetShortHelp()
override;
42 virtual std::optional<std::string>
46 static void Initialize();
48 static void Terminate();
50 static llvm::StringRef GetPluginNameStatic() {
51 return "ScriptedBreakpointPythonInterface";
54 llvm::StringRef GetPluginName()
override {
return GetPluginNameStatic(); }
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::StackFrame > StackFrameSP
std::shared_ptr< lldb_private::BreakpointLocation > BreakpointLocationSP
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.
std::shared_ptr< lldb_private::Breakpoint > BreakpointSP