Debugging the Mobile Application

Use

After deploying and running your application on the Mobile Client for Handhelds, you should test it and debug it locally. You may want to set breakpoints in the Java code to execute it step by step.

By default, the debug configuration Start Mobile Project is created when the application is run for the first time. This configuration starts the default installation of the Mobile Client for Handhelds. You can copy this configuration or customize it using Eclipse.

More information: Debugging Applications

Prerequisites

Procedure

  1. Set the desired breakpoints in the code.

  2. On the toolbar, choose the Start of the navigation pathDebug  Next navigation step Open Debug DialogEnd of the navigation path.

  3. In the Debug dialog, expand the SAP Application node and select the required debug configuration.

    If you do not have a project debug configuration:

    1. Choose New launch configuration icon.

    2. Enter a name for the debug configuration.

    3. Select the project you want to debug.

    4. Select further debug parameters as necessary.

  4. Choose Debug .