The "Debug / View Debugging" menu is always grayed out for me in Xcode 5 (and 6), even when the target is stopped at a breakpoint. How do I enable it?
When you run an application in Xcode, the debugger is automatically started and attached to the process of the application. Click the Run button in the top left or press Command + R. From the moment the application is up and running, we can start inspecting the process and, if necessary, debug it.
Go to Xcode → Preferences → Debugging → On Start → "Show Console".
The “Debug executable” checkbox specifies whether or not you want to run with the debugger enabled. Once running, you can use Debug > Attach to Process on a process that has been launched with debugging disabled if needed. It seems like all this does is start your app with the debugger attached.
Customize what Xcode displays when running your app in the debugger by choosing Xcode > Preferences > Behaviors > Running. Use the buttons in the debug bar to control the execution of your app. Continue normal execution from the paused position until the app stops at the next breakpoint with the Continue button.
For me (Xcode 6 Beta and Beta two) the View Debugging options are only enabled in 32bit simulators (e.g. works when I use 'iPhone 5' but not when I am using 'iPhone 5s')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With