12#ifndef SST_CORE_IMPL_INTERACTIVE_SIMPLEDEBUG_H
13#define SST_CORE_IMPL_INTERACTIVE_SIMPLEDEBUG_H
15#include "sst/core/eli/elementinfo.h"
16#include "sst/core/interactiveConsole.h"
17#include "sst/core/serialization/objectMapDeferred.h"
18#include "sst/core/watchPoint.h"
23namespace SST::IMPL::Interactive {
38 "interactive.simpledebug",
39 SST_ELI_ELEMENT_VERSION(1, 0, 0),
40 "{EXPERIMENTAL} Basic interactive debugging console for interactive mode."
48 void execute(const std::
string& msg) override;
56 std::vector<std::
string> name_stack;
58 SST::Core::Serialization::
ObjectMap* obj_ =
nullptr;
67 std::vector<std::
string> tokenize(std::vector<std::
string>& tokens, const std::
string& input);
69 void cmd_pwd(std::vector<std::
string>& tokens);
70 void cmd_ls(std::vector<std::
string>& tokens);
71 void cmd_cd(std::vector<std::
string>& tokens);
72 void cmd_print(std::vector<std::
string>& tokens);
73 void cmd_set(std::vector<std::
string>& tokens);
74 void cmd_time(std::vector<std::
string>& tokens);
75 void cmd_run(std::vector<std::
string>& tokens);
76 void cmd_watch(std::vector<std::
string>& tokens);
77 void cmd_unwatch(std::vector<std::
string>& tokens);
79 void dispatch_cmd(std::
string cmd);
Main component object for the simulation.
Definition baseComponent.h:62
ObjectMap version that will delay building the internal data structures until the object is "selected...
Definition objectMapDeferred.h:29
Base class for objects created by the serializer mapping mode used to map the variables for objects.
Definition objectMap.h:112
Self partitioner actually does nothing.
Definition simpleDebug.h:32
void execute(const std::string &msg) override
Called by TimeVortex to trigger checkpoint on simulation clock interval - not used in parallel simula...
Definition simpleDebug.cc:27
SST_ELI_REGISTER_INTERACTIVE_CONSOLE(SimpleDebugger, "sst", "interactive.simpledebug", SST_ELI_ELEMENT_VERSION(1, 0, 0), "{EXPERIMENTAL} Basic interactive debugging console for interactive mode.") explicit SimpleDebugger(Params ¶ms)
Creates a new self partition scheme.
Definition interactiveConsole.h:46
Parameter store.
Definition params.h:58
Class that can attach to Clock and Event Handlers to monitor the state of variables.
Definition watchPoint.h:27