Discussion:
[Wt-interest] Best practice for using valgrind with Wt ?
Joe VanAndel
2015-02-17 16:36:15 UTC
Permalink
What’s the best way of using valgrind with a Wt application?

I’d like to cleanly terminate the Wt app, so I can detect any memory leaks
in my code (or in Wt).
--
Joe VanAndel
NCAR/EOL
Koen Deforche
2015-02-17 20:44:25 UTC
Permalink
Hey Joe,

Using the wthttpd, there's nothing particular to do: simply run the
application with valgrind, and a Ctrl-C (or SIGTERM) should always
terminate cleanly for a well-behaved application: this signal is caught to
do a clean shutdown, cleaning up all current application sessions.

Regards,
koen
Post by Joe VanAndel
What’s the best way of using valgrind with a Wt application?
I’d like to cleanly terminate the Wt app, so I can detect any memory leaks
in my code (or in Wt).
--
Joe VanAndel
NCAR/EOL
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
https://lists.sourceforge.net/lists/listinfo/witty-interest
Loading...