Lines Matching refs:CliCommand
140 ErrCode CliCommand::ExecCommand()
148 void CliCommand::CreateCommandMap()
151 {std::make_pair("allocationtrack", "at"), std::bind(&CliCommand::HeapProfilerCommand, this, "allocationtrack")},
153 std::bind(&CliCommand::HeapProfilerCommand, this, "allocationtrack-stop")},
154 {std::make_pair("heapdump", "hd"), std::bind(&CliCommand::HeapProfilerCommand, this, "heapdump")},
156 std::bind(&CliCommand::HeapProfilerCommand, this, "heapprofiler-enable")},
158 std::bind(&CliCommand::HeapProfilerCommand, this, "heapprofiler-disable")},
159 {std::make_pair("sampling", "sampling"), std::bind(&CliCommand::HeapProfilerCommand, this, "sampling")},
161 std::bind(&CliCommand::HeapProfilerCommand, this, "sampling-stop")},
162 {std::make_pair("collectgarbage", "gc"), std::bind(&CliCommand::HeapProfilerCommand, this, "collectgarbage")},
163 {std::make_pair("cpuprofile", "cp"), std::bind(&CliCommand::CpuProfileCommand, this, "cpuprofile")},
165 std::bind(&CliCommand::CpuProfileCommand, this, "cpuprofile-stop")},
167 std::bind(&CliCommand::CpuProfileCommand, this, "cpuprofile-enable")},
169 std::bind(&CliCommand::CpuProfileCommand, this, "cpuprofile-disable")},
171 std::bind(&CliCommand::CpuProfileCommand, this, "cpuprofile-show")},
173 std::bind(&CliCommand::CpuProfileCommand, this, "cpuprofile-setSamplingInterval")},
174 {std::make_pair("runtime-enable", "rt-enable"), std::bind(&CliCommand::RuntimeCommand, this, "runtime-enable")},
175 {std::make_pair("heapusage", "hu"), std::bind(&CliCommand::RuntimeCommand, this, "heapusage")},
176 {std::make_pair("break", "b"), std::bind(&CliCommand::BreakCommand, this, "break")},
177 {std::make_pair("backtrack", "bt"), std::bind(&CliCommand::DebuggerCommand, this, "backtrack")},
178 {std::make_pair("continue", "c"), std::bind(&CliCommand::DebuggerCommand, this, "continue")},
179 {std::make_pair("delete", "d"), std::bind(&CliCommand::DeleteCommand, this, "delete")},
180 {std::make_pair("disable", "disable"), std::bind(&CliCommand::DebuggerCommand, this, "disable")},
181 {std::make_pair("display", "display"), std::bind(&CliCommand::DisplayCommand, this, "display")},
182 {std::make_pair("enable", "enable"), std::bind(&CliCommand::DebuggerCommand, this, "enable")},
183 {std::make_pair("finish", "fin"), std::bind(&CliCommand::DebuggerCommand, this, "finish")},
184 {std::make_pair("frame", "f"), std::bind(&CliCommand::DebuggerCommand, this, "frame")},
188 void CliCommand::CreateOtherCommandMap()
191 {std::make_pair("help", "h"), std::bind(&CliCommand::ExecHelpCommand, this)},
192 {std::make_pair("ignore", "ig"), std::bind(&CliCommand::DebuggerCommand, this, "ignore")},
193 {std::make_pair("infobreakpoints", "infob"), std::bind(&CliCommand::DebuggerCommand, this, "infobreakpoints")},
194 {std::make_pair("infosource", "infos"), std::bind(&CliCommand::InfosourceCommand, this, "infosource")},
195 {std::make_pair("jump", "j"), std::bind(&CliCommand::DebuggerCommand, this, "jump")},
196 {std::make_pair("list", "l"), std::bind(&CliCommand::ListCommand, this, "list")},
197 {std::make_pair("next", "n"), std::bind(&CliCommand::DebuggerCommand, this, "next")},
198 {std::make_pair("print", "p"), std::bind(&CliCommand::PrintCommand, this, "print")},
199 {std::make_pair("ptype", "ptype"), std::bind(&CliCommand::DebuggerCommand, this, "ptype")},
200 {std::make_pair("run", "r"), std::bind(&CliCommand::RuntimeCommand, this, "run")},
201 {std::make_pair("setvar", "sv"), std::bind(&CliCommand::DebuggerCommand, this, "setvar")},
202 {std::make_pair("step", "s"), std::bind(&CliCommand::DebuggerCommand, this, "step")},
203 {std::make_pair("undisplay", "undisplay"), std::bind(&CliCommand::DebuggerCommand, this, "undisplay")},
204 {std::make_pair("watch", "wa"), std::bind(&CliCommand::WatchCommand, this, "watch")},
205 {std::make_pair("resume", "resume"), std::bind(&CliCommand::DebuggerCommand, this, "resume")},
206 {std::make_pair("showstack", "ss"), std::bind(&CliCommand::ShowstackCommand, this, "showstack")},
207 {std::make_pair("step-into", "si"), std::bind(&CliCommand::StepCommand, this, "step-into")},
208 {std::make_pair("step-out", "so"), std::bind(&CliCommand::StepCommand, this, "step-out")},
209 {std::make_pair("step-over", "sov"), std::bind(&CliCommand::StepCommand, this, "step-over")},
211 std::bind(&CliCommand::RuntimeCommand, this, "runtime-disable")},
213 std::bind(&CliCommand::SessionAddCommand, this, "session-new")},
215 std::bind(&CliCommand::SessionDelCommand, this, "session-remove")},
217 std::bind(&CliCommand::SessionListCommand, this, "session-list")},
219 std::bind(&CliCommand::SessionSwitchCommand, this, "session")},
221 std::bind(&CliCommand::TestCommand, this, "success")},
223 std::bind(&CliCommand::TestCommand, this, "fail")},
227 ErrCode CliCommand::HeapProfilerCommand(const std::string &cmd)
264 ErrCode CliCommand::CpuProfileCommand(const std::string &cmd)
308 ErrCode CliCommand::DebuggerCommand(const std::string &cmd)
324 ErrCode CliCommand::RuntimeCommand(const std::string &cmd)
344 ErrCode CliCommand::BreakCommand(const std::string &cmd)
374 ErrCode CliCommand::DeleteCommand(const std::string &cmd)
403 ErrCode CliCommand::DisplayCommand(const std::string &cmd)
416 ErrCode CliCommand::InfosourceCommand(const std::string &cmd)
436 ErrCode CliCommand::ListCommand(const std::string &cmd)
469 ErrCode CliCommand::StepCommand(const std::string &cmd)
485 ErrCode CliCommand::ShowstackCommand(const std::string &cmd)
498 ErrCode CliCommand::PrintCommand(const std::string &cmd)
523 ErrCode CliCommand::WatchCommand(const std::string &cmd)
542 ErrCode CliCommand::SessionAddCommand([[maybe_unused]] const std::string &cmd)
559 ErrCode CliCommand::SessionDelCommand([[maybe_unused]] const std::string &cmd)
583 ErrCode CliCommand::SessionListCommand([[maybe_unused]] const std::string &cmd)
594 ErrCode CliCommand::SessionSwitchCommand([[maybe_unused]] const std::string &cmd)
613 ErrCode CliCommand::TestCommand(const std::string &cmd)
625 ErrCode CliCommand::ExecHelpCommand()
631 void CliCommand::OutputCommand(const std::string &cmd, bool flag)
640 ErrCode CliCommand::OnCommand()