MCPcopy Create free account
hub / github.com/baldurk/renderdoc / GetFieldValue

Method GetFieldValue

renderdoc/android/jdwp_connection.cpp:319–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319value Connection::GetFieldValue(referenceTypeID type, fieldID field)
320{
321 Command cmd(CommandSet::ReferenceType, 6);
322 cmd.GetData().Write(type).Write<int32_t>(1).Write(field);
323
324 if(!SendReceive(cmd))
325 return {};
326
327 int32_t numVals = 0;
328 value ret;
329
330 cmd.GetData().Read(numVals).Read(ret).Done();
331
332 if(numVals != 1)
333 RDCWARN("Unexpected number of values found in GetValue: %d", numVals);
334
335 return ret;
336}
337
338rdcarray<StackFrame> Connection::GetCallStack(threadID thread)
339{

Callers 1

InjectLibrariesFunction · 0.80

Calls 4

DoneMethod · 0.80
WriteMethod · 0.45
GetDataMethod · 0.45
ReadMethod · 0.45

Tested by

no test coverage detected