2 Test that the the expression parser enables ObjC support
3 when stopped in a C++ frame without debug-info.
7 from lldbsuite
.test
.decorators
import *
8 from lldbsuite
.test
.lldbtest
import *
9 from lldbsuite
.test
import lldbutil
12 class TestObjCFromCppFramesWithoutDebugInfo(TestBase
):
15 (_
, process
, _
, _
) = lldbutil
.run_to_name_breakpoint(self
, "main")
17 self
.assertState(process
.GetState(), lldb
.eStateStopped
)
19 # Tests that we can use builtin Objective-C identifiers.
20 self
.expect("expr id", error
=False)
22 # Tests that we can lookup Objective-C decls in the ObjC runtime plugin.
24 "NSString *c; c == nullptr", result_value
="true", result_type
="bool"