INNER CODE UNIT · Python

_get_m_data

SpartanJ/eepp · projects/scripts/debug/eepp_lldb.py:9

    def _get_m_data(self):
        # 1. Try direct access
        m_data = self.valobj.GetChildMemberWithName("m_data")
        if m_data and m_data.IsValid():
            return m_data

        # 2. Try looking inside the base class (ankerl::svector)
        for i in range(self.valobj.GetNumChildren()):
            child = self.valobj.GetChildAtIndex(i)
            if child.GetName() and "svector" in child.GetName():
                m_data = child.GetChildMemberWithName("m_data")
                if m_data and m_data.IsValid():
                    return m_data
        return None

    def update(self):
        self.size = 0
        self.capacity = 0

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…