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
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