From: mquinson Date: Tue, 2 Mar 2010 00:32:42 +0000 (+0000) Subject: Note in source file how to debug that damn stuff X-Git-Tag: SVN~580 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/215bde500f3a9ac0cf4f3cd4ad95ef1a9e742d9f Note in source file how to debug that damn stuff git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7158 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/bindings/ruby/MasterSlave.rb b/src/bindings/ruby/MasterSlave.rb index 6f809f290f..aafa5edb0c 100644 --- a/src/bindings/ruby/MasterSlave.rb +++ b/src/bindings/ruby/MasterSlave.rb @@ -1,3 +1,6 @@ +# Debug it with this command: +# make -C ../.. && valgrind ruby MasterSlave.rb --log=ruby.thres:debug 2>&1 | less + require 'simgrid' include MSG