tags:

views:

191

answers:

1

I am trying to enable these debugging preferences (NSShowAllViews, NSShowAllDrawing) as shown here:
http://developer.apple.com/technotes/tn2004/tn2124.html#SECAPPKITVIEWS
using this method: http://developer.apple.com/technotes/tn2004/tn2124.html#FIGXCODEENV

Are these features present in XCode 3 and OS X 10.5.6 ?

+1  A: 

The environment variable list in the executable editor is present in Xcode 3, yes.

The reason it's not working is those are not environment variables. They are preferences, and you have to set them as such.

You can do that from Xcode's executable editor by adding a few arguments:

  • -NSShowAllViews
  • YES
  • -NSShowAllDrawing
  • YES

This will set those preferences in NSArgumentDomain, which is non-persistent.

Peter Hosey
I'm trying to add this in Arguments section of the executable, and nothing is happening. Any suggestions ?
dizy
As of Snow Leopard, `NSShowAllViews` works just fine, but `NSShowAllDrawing` doesn't. You should file a bug report: https://bugreport.apple.com/
Peter Hosey