Quote:
Originally Posted by WRP
But which debugger will be used?
|
This is not about running under the Xcode debugger, but about the appearance of the debug menu while running an application (even without debugger at all).
Using Radare2 rax2 command:
Output:
Adding per app setting in preferences (stored in ~/Library/Containers/)
Sample app is TextEdit (
CFBundleIdentifier is
com.apple.TextEdit):
Code:
defaults write com.apple.TextEdit _NS_4445425547 -bool true
Run app:
You'll see bug icon in menu (before Help menu).
Adding global system setting in preferences
Code:
defaults write -g _NS_4445425547 -bool true
Reading global value:
Code:
defaults read -g _NS_4445425547
Sample output:
Code:
The domain/default pair of (kCFPreferencesAnyApplication, _NS_4445425547) does not exist