case ELEMENT_TYPE_VALUETYPE:
case ELEMENT_TYPE_CLASS:
- CORDB_ADDRESS addr;
- if(SUCCEEDED(pValue->GetAddress(&addr)))
{
- ss << " @ 0x" << std::hex << addr;
+ std::string typeName;
+ TypePrinter::GetTypeOfValue(pValue, typeName);
+ ss << '{' << typeName << '}';
+ //ProcessFields(pValue, NULL, pILFrame, indent + 1, varToExpand, currentExpansion, currentExpansionSize, currentFrame);
}
- else
- {
- ss << "<failed to get address>";
- }
- //ProcessFields(pValue, NULL, pILFrame, indent + 1, varToExpand, currentExpansion, currentExpansionSize, currentFrame);
break;
case ELEMENT_TYPE_BOOLEAN:
break;
case ELEMENT_TYPE_I1:
- ss << *(char*) &(rgbValue[0]);
+ ss << (int) *(char*) &(rgbValue[0]);
break;
case ELEMENT_TYPE_U1:
- ss << *(unsigned char*) &(rgbValue[0]);
+ ss << (unsigned int) *(unsigned char*) &(rgbValue[0]);
break;
case ELEMENT_TYPE_I2: