brintos

brintos / llvm-project-archived public Read only

0
0
Text · 397 B · 8db5c54 Raw
14 lines · python
1import lldb2from lldbsuite.test.lldbtest import *3from lldbsuite.test.decorators import *4from lldbsuite.test import lldbutil5 6 7class TestCase(TestBase):8    def test_cpp_this(self):9        self.build()10        lldbutil.run_to_source_breakpoint(11            self, "// check this", lldb.SBFileSpec("main.cpp")12        )13        self.expect("frame variable m_field", startstr="(int) m_field = 30")14