github.com/cyrus-and/gdb-dashboard/
github.com/cyrus-and/gdb-dashboard/wiki
Obtain the Python version used by GDB
Support older GDB versions
gdb split view with code
Issues
printers.py: ValueError
GNU gdb (GDB) Red Hat Enterprise Linux 11.2-1.el7
Red Hat Enterprise Linux Server release 7.9 (Maipo)
>>> p *iniFile
$2 = {
static defaultBaseName = {
data_ = "default"
},
fIsValid = true,
filePath_ = 0x708970 "/app/config.ini",
fileStream = 0x708d80,
buffer = 0x709380 "",
direct = false,
static iniFilePathEnv = 0x7ffff2f2cbd6 "INIFILE_PATH",
static iniFileNameEnv = 0x7ffff2f2cbe3 "INIFILE_NAME",
_sectionList = {
impl_ = std::map with 12 elements = {
[...]
}
},
writeValues = {
impl_ = empty std::listTraceback (most recent call last):
File "/lib64/../../opt/rh/devtoolset-12/root/usr/share/gdb/python/libstdcxx/v6/printers.py", line 243, in children
nodetype = find_type(self.val.type, '_Node')
File "/lib64/../../opt/rh/devtoolset-12/root/usr/share/gdb/python/libstdcxx/v6/printers.py", line 99, in find_type
raise ValueError("Cannot find type %s::%s" % (str(orig), name))
ValueError: Cannot find type RWTValDlist<TIniFile::TwriteValue, std::allocator<TIniFile::TwriteValue> >::container_type::_Node
}
}