[macruby-changes] [1644] MacRuby/branches/experimental/HACKING.rdoc

source_changes at macosforge.org source_changes at macosforge.org
Fri May 29 18:35:05 PDT 2009


Revision: 1644
          http://trac.macosforge.org/projects/ruby/changeset/1644
Author:   lsansonetti at apple.com
Date:     2009-05-29 18:35:05 -0700 (Fri, 29 May 2009)
Log Message:
-----------
mention DYLD_LIBRARY_PATH

Modified Paths:
--------------
    MacRuby/branches/experimental/HACKING.rdoc

Modified: MacRuby/branches/experimental/HACKING.rdoc
===================================================================
--- MacRuby/branches/experimental/HACKING.rdoc	2009-05-30 01:30:46 UTC (rev 1643)
+++ MacRuby/branches/experimental/HACKING.rdoc	2009-05-30 01:35:05 UTC (rev 1644)
@@ -92,8 +92,10 @@
         do_something3();
     }
 
-=== Environment variables
+=== Debugging
 
+==== Environment variables
+
 The following environment variables might help you debug easy bugs.
 
 * GC_DISABLE: set it to any value to disable the GC.
@@ -103,8 +105,12 @@
 * VM_DUMP_IR: set it to any value to dump the LLVM IR on $stderr before the
   interpreter quits.
 
-=== GDB tricks
+* DYLD_LIBRARY_PATH: in case you are debugging a Cocoa application, set this 
+  variable to "." before starting gdb, and you won't have to re-install MacRuby
+  every time you re-compile it.
 
+==== GDB tricks
+
 * Break on rb_exc_raise to intercept pure Ruby exceptions.
 
 * To dump the LLVM IR:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090529/cbce707c/attachment-0001.html>


More information about the macruby-changes mailing list