| 317 | } |
| 318 | |
| 319 | value 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 | |
| 338 | rdcarray<StackFrame> Connection::GetCallStack(threadID thread) |
| 339 | { |
no test coverage detected