AppCode 2017.1 Help

Debugging iOS Apps with Reveal

AppCode comes with the support for Reveal - a great tool that can be very helpful in debugging iOS applications. It lets you edit and modify views in your running application on the fly, without recompiling; inspect view elements and hierarchies of your iOS apps in real time with 2D and 3D visualisations, and quickly debug view layout and rendering problems.

AppCode's Reveal integration allows you to use its features right from the IDE. The integration is provided via a plugin and is open source under Apache 2.0 license.

Prerequisites

Before you start working with Reveal, make sure that the Reveal support plugin is enabled. The plugin is bundled with AppCode and is activated by default. If the plugin is not activated, enable it on the Plugins page of the AppCode Preferences as described in Enabling and Disabling Plugins.

AppCode can work with Reveal 1.0.4 or higher. If Reveal is installed, you can configure it in the AppCode's Run/Debug Configuration dialog.

To Configure Reveal

  1. Open the Run/Debug Configuration dialog box by doing one of the following:
    • On the main menu, choose Run | Edit Configurations.
    • Click the run/debug configurations selector on the main toolbar.
    • Press ⌥⇧F10, then press 0 to display the Edit Configuration dialog box or select the configuration from the pop-up window and press F4.
  2. In the Run/Debug Configuration dialog box, go to the Reveal tab
  3. Select the desired options and click OK
    AppCode_RevealConfig.png

To inspect your application with Reveal

  • Select the run/debug configuration to execute, and then do one of the following:
    • Click the Debug button /help/img/idea/2017.1/debug.png on the toolbar.
    • Choose Run | Debug on the main menu.
    • Press ⇧F9.
  • Press the Show in Reveal button /help/img/idea/2017.1/AppCode_Show_in_Reveal.png on the AppCode Debug toobar:
    AppCode_ShowInReveal.png

    The Reveal interface will be displayed:

    AppCode_RevealAppUI.png

See Also

External Links:

Last modified: 26 July 2017