[antlr-interest] C/C++ instrumentation tool
Loring Craymer
Loring.G.Craymer at jpl.nasa.gov
Fri Jun 17 18:13:13 PDT 2005
http://www.aspectc.org/
This is exactly the type of problem for which program slicing
(aspect-oriented programming) can provide solutions. I've not used Aspect
C++, but it should solve your problem.
--Loring
At 05:55 PM 6/17/2005, Andy Tripp wrote:
>I'm looking for a C/C++ code instrumentation tool that will cause my
>program to watch for
>every variable assignment and print out the variable and value whenever
>any variable is assigned
>a value. I don't see any gcc options to do that kind of code
>instrumentation, and I don't see a way
>to have gdb do that.
>
>Does anyone know of such a tool? Preferably something simple and free.
>
>Or am I going to have to whip one up with ANTLR?
>
>Andy
More information about the antlr-interest
mailing list