Advertisement
Guest User

Redirecting debug output from XCode 4 console to a log file

a guest
Apr 9th, 2012
1,911
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. defaults write com.apple.Xcode PBXGDBDebuggerLogToFile YES
  2. defaults write com.apple.Xcode PBXGDBDebuggerLogFileName <filepath>
  3.  
  4. /Developer/Platforms/iPhoneOS.platform/Developer/usr/libexec/gdb/gdb-arm-apple-darwin
  5.  
  6. #!/bin/sh
  7.  
  8. /Developer/Platforms/iPhoneOS.platform/Developer/usr/libexec/gdb/gdb-arm-apple-darwin- $* | tee -a $HOME/tmp/xcode-gdb.log 2>&1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement