Re: [lldb-dev] Breakpoint matching with -n seems to have gotten too generous

2019-08-29 Thread Pavel Labath via lldb-dev
On 30/08/2019 02:33, Jim Ingham via lldb-dev wrote: If I have a program like: class A { public: int AMethod() { return 100; } }; class AA { public: int AMethod() { return 200; } }; int main() { A myA; AA myAA; myA.AMethod(); myAA.AMethod(); return 0; } Build and run it un

[lldb-dev] Breakpoint matching with -n seems to have gotten too generous

2019-08-29 Thread Jim Ingham via lldb-dev
If I have a program like: class A { public: int AMethod() { return 100; } }; class AA { public: int AMethod() { return 200; } }; int main() { A myA; AA myAA; myA.AMethod(); myAA.AMethod(); return 0; } Build and run it under lldb, and do: (lldb) b s -n A::AMethod Breakpoint 1: 2 l