Re: [RFC] multiple breakpoints from FILE:LINE

Robert Dewar
2006-01-15T19:06:02Z

Andreas Schwab wrote:

>
>What if you want to debug a particular function which inlines another
>function that is also inlined in many other, frequently called functions?
>In this case being able to set a breakpoint in a single instance of the
>inline function can considerably reduce the complexity of debugging. Of
>course, you can always fall back to setting the breakpoint on an address,
>but that makes it difficult to reliably track the breakpoint position when
>reloading the binary.
>
>
Well you would not have this possibility if the function were not inlined,
so I just don't see it as critical functionality.

It's like wanting to breakpoint in one iteration of a loop to me ...
and then you say, "gosh, we are unfolding this loop, so indeed
we could do that and now have to work out a syntax to do it"

>Andreas.
>
>
>