Move the "Object Description" into the ValueObject, and the add an API to

SBValue to access it.  For now this is just the result of ObjC NSPrintForDebugger,
but could be extended.  Also store the results of the ObjC Object Printer in a
Stream, not a ConstString.

llvm-svn: 113660
This commit is contained in:
Jim Ingham
2010-09-10 23:12:17 +00:00
parent cc766a20d3
commit 53c47f1e2f
7 changed files with 79 additions and 40 deletions

View File

@@ -176,6 +176,15 @@ SBValue::GetValue (const SBFrame &frame)
return value_string;
}
const char *
SBValue::GetObjectDescription (const SBFrame &frame)
{
const char *value_string = NULL;
if ( m_opaque_sp)
value_string = m_opaque_sp->GetObjectDescription (frame.get());
return value_string;
}
bool
SBValue::GetValueDidChange (const SBFrame &frame)
{