Browse files

Document how to Build Rubinius for debugging purposes

  • Loading branch information...
1 parent d2326d8 commit 9565face76b4c599501642935a0e38a825f8dcab @jmstacey jmstacey committed Nov 13, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 web/doc/en/getting-started/building.markdown
8 web/doc/en/getting-started/building.markdown
@@ -58,3 +58,11 @@ However, if you are developing Rubinius, you should NOT add the _bin_
directory to your PATH because the Rubinius build system will pick up the
`ruby` and `rake` links to the Rubinius executable. Rubinius needs a separate
Ruby executable to bootstrap itself during the build process.
+### Development Mode for Debugging
+If you are trying to debug the VM and want to attach a debugger, such as GDB,
+then you will want to compile Rubinius without optimizations. You can do this
+by setting the 'DEV' environment variable and then building.
+For example: `DEV=1 rake build`

0 comments on commit 9565fac

Please sign in to comment.