1

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?

Ignorant
  • 2,411
  • 4
  • 31
  • 48

0 Answers0