I have a bunch of methods chained together, for example:
obj->getA()->getB()->doSomething()->doSomethingElse();
If I set a breakpoint on that line and I start stepping into it, gdb walks into the first method (getA()
).
How can I step directly into doSomething()
instead?