This is a mirror of official site: http://jasper-net.blogspot.com/

Valgrind

| Sunday, September 23, 2012
Starting with MonoTouch 5.4 it is possible to use Valgrind on a MonoTouch project. In some cases Valgrind is invaluable in finding strange crashes, in particular when freed memory is accessed. 

This is what you need to do:

Download latest Valgrind (3.7.0 as of this writing). Extract somewhere, and compile:

./configure --enable-only32bit --prefix=/usr/local
make
sudo make install

Now open the project you want to valgrind, and set the VALGRIND environment variable to the command to execute to use valgrind:

Inline image 1

Run (not debug) your project. You will see this in the Application Output:

Inline image 2

QR: Inline image 3

Posted via email from Jasper-net

0 comments: