Re: [PATCH] dynamic printf

Joel Brobecker
2012-03-13T23:40:00Z

> >Or like a tracepoint that does printf? Would it influence an operation
> >such as "next", for instance?
> >
> >
>
> There is a tracepoint similarity; one of the vague future-direction
> ideas is to somehow refactor tracing and breaking so one could shift
> back and forth freely, for instance to decide to collect some data
> at a breakpoint, without having to do the formalized trace
> experiment setup.
>
> I'm not sure what you mean by influencing "next"?

I was referring to some suggestions that your new feature was equivalent
to a breakpoint with two commands that do the printing followed by a
continue. This method looks like a great way of tracing code (meaning
adding debugging traces), except that if the breakpoint is hit during
a "next", then you get your trace followed by your program running away
until hitting the next breakpoint, instead of stopping on the next line
of code. That's why I like referring to the tracepoint terminology...

--
Joel