Archived

This forum has been archived. Please start a new discussion on GitHub.

How to setup valgrind

Hello,

I would like to know what are the best practices to use valgrind with Ice.

With the following xml as an example:

<application name="Ripper">
    <node name="Node1">
        <server id="EncoderServer" exe="/opt/ripper/bin/server" activation="on-demand">
            <adapter name="EncoderAdapter" id="EncoderAdapter" endpoints="tcp"/>
            <property name="Ice.Trace.Network" value="1"/>
        </server>
    </node>
</application>

how should I change it so that the executable /opt/ripper/bin/server is lauched using valgrind? Is it as simple as replacing /opt/ripper/bin/server by valgrind /opt/ripper/bin/server?

Thank you for you help!
Olivier

Tagged:

Comments