Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lldb/source/Target/TargetProperties.td
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ let Definition = "target" in {
DefaultUnsignedValue<256>,
Desc<"Maximum number of children to expand in any level of depth.">;
def MaxChildrenDepth: Property<"max-children-depth", "UInt64">,
DefaultUnsignedValue<6>,
DefaultUnsignedValue<4>,
Desc<"Maximum depth to expand children.">;
def MaxSummaryLength: Property<"max-string-summary-length", "UInt64">,
DefaultUnsignedValue<1024>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,13 +357,13 @@ def cleanup():
self.runCmd("type format delete int")

# First, check the following:
# 1. Verify the default max-children-depth (6) is applied
# 1. Verify the default max-children-depth (4) is applied
# 2. Ensure the one-time warning is printed
warning = "*** Some of the displayed variables have a greater depth"
self.expect(
"frame variable quite_nested",
matching=True,
substrs=["six ={...}", warning],
substrs=["four ={...}", warning],
)
self.expect(
"frame variable quite_nested",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ def cleanup():
'@"2 elements"',
],
)

self.runCmd("settings set target.max-children-depth 6")
self.expect(
"frame variable mutabledict --ptr-depth 3",
substrs=[
Expand Down