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;
40 static void Initialize();
42 static void Terminate();
44 static llvm::StringRef GetPluginNameStatic() {
45 return "ScriptedBreakpointPythonInterface";
48 llvm::StringRef GetPluginName()
override {
return GetPluginNameStatic(); }
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::Breakpoint > BreakpointSP