llvm / llvm/llvm-project

[lldb] no children in the `Class` class

Open
#182,827 3 comments 0 reactions 0 assignees View on GitHub
lldb
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

To reproduce debug the program in Xcode 26.2

```c++
class Class {
public:
int x;
};

class Class1 {
public:
int x;
};

int main() {
Class sample{1};
Class1 sample1{1};

return 0; // breakpoint
}
```

Expected: `sample` has the `x` child.

Actual: `sample` has no children:

Image

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Xcode 26.2 using the C++ program in the report and stop at the marked breakpoint. Compare the debugger children shown for sample and sample1; done means sample exposes its x child as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.