summaryrefslogtreecommitdiff
path: root/lldb/test/API/commands/frame/var/direct-ivar/cpp/TestFrameVarDirectIvarCpp.py
blob: f483899a75509102e57d44d694428bf82a7e9bfe (plain)
1
2
3
4
5
6
7
8
9
10
11
import lldb
from lldbsuite.test.lldbtest import *
from lldbsuite.test.decorators import *
from lldbsuite.test import lldbutil


class TestCase(TestBase):
    def test_cpp_this(self):
        self.build()
        lldbutil.run_to_source_breakpoint(self, "// check this", lldb.SBFileSpec("main.cpp"))
        self.expect("frame variable m_field", startstr="(int) m_field = 30")