Hi,

How do I debug a deployed app using Valgrind? I have deployed my app
under Apache. The installation of Wt and Valgrind are under
non-standard location i.e. in my home directory. I am able to run the
deployed app and see the output in the web-browser. I now want to
debug the application i.e. put a breakpoint in the main function and
do stepwise debugging. I have built the Wt library and my application
in debug mode (CMAKE_BUILD_TYPE=Debug). Then I set the valgrind-path
in wt_config.xml as follows:

<valgrind-path>/home/plug/install/bin/valgrind --vgdb=full
--vgdb-error=0</valgrind-path>

Now when I access my application from web-browser I was hoping to see
the gdbserver of Valgrind to launch, but nothing happens. The expected
output of my Wt application is displayed in the web-browser. And when
I try to connect to the gdbserver from gdb, it fails because no
gdbserver is running. Please could someone help me understand how to
debug a deployed Wt application?

Thanks and regards,

~Plug

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to