9#ifndef LLDB_SOURCE_PLUGINS_SCRIPTINTERPRETER_NONE_SCRIPTINTERPRETERNONE_H
10#define LLDB_SOURCE_PLUGINS_SCRIPTINTERPRETER_NONE_SCRIPTINTERPRETERNONE_H
39 std::vector<std::reference_wrapper<BreakpointOptions>> &options,
40 CommandReturnObject &result)
override;
43 const char *callback_text,
44 bool is_callback)
override;
47 BreakpointOptions &bp_options,
const char *function_name,
52 CommandReturnObject &result)
override;
55 const char *user_input,
56 bool is_callback)
override;
static llvm::raw_ostream & error(Stream &strm)
A class to manage flag bits.
lldb::ScriptLanguage m_requested_language
llvm::StringRef GetPluginName() override
llvm::Error SetBreakpointCommandCallback(BreakpointOptions &bp_options, const char *callback_text, bool is_callback) override
static lldb::ScriptInterpreterSP CreateInstance(Debugger &debugger, lldb::ScriptLanguage requested_language)
llvm::Error GetUnavailableError() const
Returns the error recorded for the requested language, or success.
bool ExecuteOneLine(llvm::StringRef command, CommandReturnObject *result, const ExecuteScriptOptions &options=ExecuteScriptOptions()) override
static llvm::StringRef GetPluginNameStatic()
void CollectDataForWatchpointCommandCallback(WatchpointOptions *wp_options, CommandReturnObject &result) override
llvm::Error SetBreakpointCommandCallbackFunction(BreakpointOptions &bp_options, const char *function_name, StructuredData::ObjectSP extra_args_sp) override
Set a script function as the callback for the breakpoint.
ScriptInterpreterNone(Debugger &debugger, lldb::ScriptLanguage requested_language)
static llvm::StringRef GetPluginDescriptionStatic()
void CollectDataForBreakpointCommandCallback(std::vector< std::reference_wrapper< BreakpointOptions > > &options, CommandReturnObject &result) override
llvm::Error SetWatchpointCommandCallback(WatchpointOptions *wp_options, const char *user_input, bool is_callback) override
Set a one-liner as the callback for the watchpoint.
~ScriptInterpreterNone() override
bool LoadScriptingModule(const char *filename, const LoadScriptOptions &options, lldb_private::Status &error, StructuredData::ObjectSP *module_sp=nullptr, FileSpec extra_search_dir={}, lldb::TargetSP loaded_into_target_sp={}) override
llvm::Error ExecuteInterpreterLoop() override
ScriptInterpreter(Debugger &debugger, lldb::ScriptLanguage script_lang)
std::shared_ptr< Object > ObjectSP
A class that represents a running process on the host machine.
ScriptLanguage
Script interpreter types.
std::shared_ptr< lldb_private::ScriptInterpreter > ScriptInterpreterSP
std::shared_ptr< lldb_private::Target > TargetSP