> How can I use Valgrind to trace variables?  ...
> I want Valgrind to write the value of the variable to console
> or a log file once the variable gets updated.

What's a variable?  memcheck understands memory locations well,
but registers not so well.  Even gdb has trouble tracking
values in registers:
  (gdb) print my_variable
       <optimized out>

-- 


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to