1 Want to run nspluginviewer in valgrind? It's not easy. Here's how:
3 - Trigger the plugin you want in konqueror without valgrind running.
4 - ps awwww | grep nspluginviewer
5 - Record the commandline, then kill -11 the process
8 - run valgrind --num-callers=15 --error-limit=no nspluginviewer <commandline that you saved>
10 - WAIT for four lines to be printed to the screen that start with:
16 - QUICKLY go back to konqi, reload the plugin page.
17 - You should see the valgrind konsole start to scroll lots of debug output. If
18 it does not, then it probably not picking up the new nspluginviewer. Try
20 - As long as you don't close this konqueror window, you should be able to keep
21 rerunning valgrinded nspluginviewer without much trouble.