Skip to content

Commit

Permalink
mention DYLD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
lsansonetti@apple.com committed May 30, 2009
1 parent 3e1d85a commit df0d219
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions HACKING.rdoc
Expand Up @@ -92,7 +92,9 @@ accepted:
do_something3();
}

=== Environment variables
=== Debugging

==== Environment variables

The following environment variables might help you debug easy bugs.

Expand All @@ -103,7 +105,11 @@ The following environment variables might help you debug easy bugs.
* 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.

Expand Down

0 comments on commit df0d219

Please sign in to comment.