MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / HandleInspectCallstack

Method HandleInspectCallstack

neo/tools/debugger/DebuggerServer.cpp:398–410  ·  view source on GitHub ↗

================ rvDebuggerServer::HandleInspectCallstack Handle an incoming inspect callstack message by sending a message back to the client with the callstack data. ================ */

Source from the content-addressed store, hash-verified

396================
397*/
398void rvDebuggerServer::HandleInspectCallstack ( idBitMsg* msg )
399{
400 idBitMsg msgOut;
401 byte buffer[MAX_MSGLEN];
402
403 msgOut.Init(buffer, sizeof( buffer ) );
404 msgOut.BeginWriting();
405 msgOut.WriteShort ( (short)DBMSG_INSPECTCALLSTACK );
406
407 ((idGameEditExt*) gameEdit)->MSG_WriteInterpreterInfo(&msgOut, mBreakInterpreter, mBreakProgram, mBreakInstructionPointer);
408
409 SendPacket (msgOut.GetData(), msgOut.GetSize() );
410}
411
412/*
413================

Callers

nothing calls this directly

Calls 6

BeginWritingMethod · 0.80
InitMethod · 0.45
WriteShortMethod · 0.45
GetDataMethod · 0.45
GetSizeMethod · 0.45

Tested by

no test coverage detected