MCPcopy Create free account
hub / github.com/SpartanJ/eepp / stepOut

Method stepOut

src/tools/ecode/plugins/debugger/dap/debuggerclientdap.cpp:739–750  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

737}
738
739bool DebuggerClientDap::stepOut( int threadId, bool singleThread ) {
740 std::string sessionId = findSessionByThread( threadId );
741 if ( sessionId.empty() )
742 return false;
743 nlohmann::json arguments{ { DAP_THREAD_ID, threadId } };
744 if ( singleThread )
745 arguments[DAP_SINGLE_THREAD] = true;
746 makeRequest( "stepOut", arguments,
747 makeResponseHandler( &DebuggerClientDap::processResponseNext, this, sessionId ),
748 sessionId );
749 return true;
750}
751
752bool DebuggerClientDap::terminate( bool restart ) {
753 nlohmann::json arguments;

Callers 1

registerCommandsMethod · 0.80

Calls 2

makeResponseHandlerFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected