We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 668e91d commit 0e8ddf0Copy full SHA for 0e8ddf0
lldb/test/API/commands/dwim-print/objc/TestDWIMPrintObjC.py
@@ -17,3 +17,11 @@ def test(self):
17
self.expect(
18
"dwim-print parent.child", patterns=[r'_name = 0x[0-9a-f]+ @"Seven"']
19
)
20
+
21
+ @skipUnlessDarwin
22
+ def test_with_summary(self):
23
+ self.build()
24
+ lldbutil.run_to_source_breakpoint(self, "break here", lldb.SBFileSpec("main.m"))
25
+ self.runCmd("type summary add -s 'Parent of ${var._child._name}' 'Parent *'")
26
+ self.expect("dwim-print parent", matching=False, substrs=["_child = 0x"])
27
+ self.expect("dwim-print parent", substrs=['Parent of @"Seven"'])
0 commit comments