<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<div><br></div><div>I am using LLDB C++ API to create custom debugger and trying to dump variables with their types. To do that I am using SBValue.GetTypeName() API. Some types are OK, but some others - especially ones related to STL - are quite unreadable:</div><div><br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><font face="Courier New, sans-serif" size="2">(gdb) p value.GetTypeName()</font></div></div><div><div><font face="Courier New, sans-serif" size="2">$1 = 0x7fffe419be40 "std::__1::unique_ptr<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char"...</font></div></div><div><div><font face="Courier New, sans-serif" size="2">(gdb) p value.GetDisplayTypeName()</font></div></div><div><div><font face="Courier New, sans-serif" size="2">$2 = 0x7fffe419be40 "std::__1::unique_ptr<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char"...</font></div></div><div><div><font face="Courier New, sans-serif" size="2">(gdb) </font></div></div></blockquote><div><br></div><div>So, is there any way to convert them into some more human-friendly form?</div><div><br></div><div>Thanks,</div><div>Eugene</div> </div></body>
</html>