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 ?
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:
-NSShowAllViewsYES-NSShowAllDrawingYESThis will set those preferences in
NSArgumentDomain, which is non-persistent.