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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user