Improve tracing.
This commit is contained in:
parent
2298b5fc23
commit
b607f92d4e
@ -84,12 +84,18 @@ CStringValueNode::ResolvedLocationAndValue(ValueLoader* valueLoader,
|
|||||||
ValuePieceLocation piece;
|
ValuePieceLocation piece;
|
||||||
piece.SetToMemory(addressData.ToUInt64());
|
piece.SetToMemory(addressData.ToUInt64());
|
||||||
|
|
||||||
|
TRACE_LOCALS(" Address found: %#" B_PRIx64 "\n",
|
||||||
|
addressData.ToUInt64());
|
||||||
|
|
||||||
error = valueLoader->LoadStringValue(addressData, maxSize, valueData);
|
error = valueLoader->LoadStringValue(addressData, maxSize, valueData);
|
||||||
if (error != B_OK)
|
if (error != B_OK)
|
||||||
return error;
|
return error;
|
||||||
|
|
||||||
piece.size = valueData.Length();
|
piece.size = valueData.Length();
|
||||||
|
|
||||||
|
TRACE_LOCALS(" String value found, length: %" B_PRIu64 "bytes\n",
|
||||||
|
piece.size);
|
||||||
|
|
||||||
ValueLocation* stringLocation = new(std::nothrow) ValueLocation(
|
ValueLocation* stringLocation = new(std::nothrow) ValueLocation(
|
||||||
valueLoader->GetArchitecture()->IsBigEndian(), piece);
|
valueLoader->GetArchitecture()->IsBigEndian(), piece);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user