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

Method stepInto

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

Source from the content-addressed store, hash-verified

724}
725
726bool DebuggerClientDap::stepInto( int threadId, bool singleThread ) {
727 std::string sessionId = findSessionByThread( threadId );
728 if ( sessionId.empty() )
729 return false;
730 nlohmann::json arguments{ { DAP_THREAD_ID, threadId } };
731 if ( singleThread )
732 arguments[DAP_SINGLE_THREAD] = true;
733 makeRequest( "stepIn", arguments,
734 makeResponseHandler( &DebuggerClientDap::processResponseNext, this, sessionId ),
735 sessionId );
736 return true;
737}
738
739bool DebuggerClientDap::stepOut( int threadId, bool singleThread ) {
740 std::string sessionId = findSessionByThread( threadId );

Callers 1

registerCommandsMethod · 0.80

Calls 2

makeResponseHandlerFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected