I don t suppose there is a way to programmatically enable/disable Valgrind memcheck the way you can with callgrind? (Start/stop instrumentation).
It s painfully, unusably slow (which is okay if the code you want to test starts automatically and you just leave it running), but I can t actually get into the code that s important without clicking a few buttons in the app, which is rendered completely unresponsive. (My code is a plug-in to another app)
Thanks