Skip to content

Instantly share code, notes, and snippets.

@wycats
Created January 17, 2012 18:26
Show Gist options
  • Save wycats/1627976 to your computer and use it in GitHub Desktop.
Save wycats/1627976 to your computer and use it in GitHub Desktop.
How to debug dynamic loading
export DYLD_PRINT_OPTS="1"
export DYLD_PRINT_ENV="1"
export DYLD_PRINT_LIBRARIES="1"
export DYLD_PRINT_LIBRARIES_POST_LAUNCH="1"
export DYLD_PRINT_APIS="1"
export DYLD_PRINT_BINDINGS="1"
export DYLD_PRINT_INITIALIZERS="1"
export DYLD_PRINT_REBASINGS="1"
export DYLD_PRINT_SEGMENTS="1"
export DYLD_PRINT_STATISTICS="1"
export DYLD_PRINT_DOFS="1"
export DYLD_PRINT_RPATHS="1"
bundle exec thin start
#rails s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment