================ rvDebuggerClient::InspectVariable Instructs the client to inspect the given variable at the given callstack depth. The variable is inspected by sending a DBMSG_INSPECTVARIABLE message to the server which will in turn respond back to the client with the variable value ================ */
| 270 | ================ |
| 271 | */ |
| 272 | void rvDebuggerClient::InspectVariable ( const char* name, int callstackDepth ) |
| 273 | { |
| 274 | idBitMsg msg; |
| 275 | byte buffer[MAX_MSGLEN]; |
| 276 | |
| 277 | msg.Init( buffer, sizeof( buffer ) ); |
| 278 | msg.BeginWriting(); |
| 279 | msg.WriteShort ( (short)DBMSG_INSPECTVARIABLE ); |
| 280 | msg.WriteShort ( (short)(mCallstack.Num()-callstackDepth) ); |
| 281 | msg.WriteString ( name ); |
| 282 | |
| 283 | SendPacket ( msg.GetData(), msg.GetSize()); |
| 284 | } |
| 285 | |
| 286 | /* |
| 287 | ================ |
no test coverage detected