MCPcopy Create free account
hub / github.com/KDE/kdevelop / addCommand

Method addCommand

plugins/debuggercommon/midebugsession.h:474–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472
473template<class Handler>
474void MIDebugSession::addCommand(MI::CommandType type, const QString& arguments, Handler* handler_this,
475 MI::MICommand::ResultRecordMethod<Handler> handler_method, MI::CommandFlags flags)
476{
477 auto cmd = createCommand(type, arguments, flags);
478 cmd->setHandler(handler_this, handler_method);
479 queueCmd(std::move(cmd));
480}
481
482template<class Handler>
483void MIDebugSession::addCommandWithCurrentSessionHandler(MI::CommandType type, const QString& arguments,

Callers 15

handleMethod · 0.60
refetchMethod · 0.60
fetchThreadsMethod · 0.60
testManualBreakpointMethod · 0.60
testAttachMethod · 0.60
updateMethod · 0.60
handleMethod · 0.60
updateLocalsMethod · 0.60
addWatchMethod · 0.60
addWatchpointMethod · 0.60
handleMethod · 0.60

Calls 1

setHandlerMethod · 0.60

Tested by 10

testManualBreakpointMethod · 0.48
testAttachMethod · 0.48
testCatchpointMethod · 0.48
testCommandHandlerMethod · 0.48
testUpdateBreakpointMethod · 0.48
testManualBreakpointMethod · 0.48
testManualAttachMethod · 0.48