1class Trivial {
2public:
3 Trivial(int input) : m_int(input) {}
4private:
5 int m_int;
6};
7
8class Foo {
9private:
10 Trivial m_trivial = Trivial(100); // Set the before constructor breakpoint here
11
12public:
13 Foo(int input) {
14 ++input;
15 }
16
17private:
18 Trivial m_other_trivial = Trivial(200); // Set the after constructor breakpoint here
19};
20
21int main() {
22 Foo myFoo(10); // Set a breakpoint here to get started
23 return 0;
24}
25

source code of lldb/test/API/lang/cpp/break-on-initializers/main.cpp