On 22 August 2012 07:11, dirk <dirkmay...@comcast.net> wrote: > I'm trying to learn valgrind for oct files... can anyone share a working > example I could study?
Off the top of my head... Compile your oct file with debug symols: CXXFLAGS=-g mkoctfile foo.cc Write some m-script that executes code from your octfile echo "foo();" > myscript.m Run Octave with valgrind: valgrind octave -q myscript.m HTH, - Jordi G. H. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev