Show TOC

Procedure documentationDebugging the Mobile Application Locate this document in the navigation structure

 

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

Note Note

Debugging a mobile application is possible only on a laptop emulator and not on a real PDA.

End of the note.

Prerequisites

Procedure

  1. Set the desired breakpoints in the code.

  2. On the toolbar, choose the   Debug   Open Debug Dialog  .

  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.

Note Note

The Mobile Application has to be run at least once to have a default debug configuration.

End of the note.