Show TOC Start of Content Area

Procedure documentation Debugging the Mobile Application  Locate the document in its SAP Library structure

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, debug configuration Start Mobile Project is created when the application is run for the first time. This configuration will start the default installation of the Mobile Client for Handhelds. You can copy this configuration or customize it using Eclipse means.

More information: Debugging Applications

Prerequisites

      You have deployed the Mobile Application

More information: Deploying the Mobile Application

      You are able to run the Mobile Application on the Mobile Client for Handhelds (desktop or a handheld device)

More information: Running the Mobile Application

Procedure

...

       1.      Set the desired breakpoints in the code.

       2.      On the toolbar, choose the Debug icon.

Alternatively, choose Run Debug.

       3.      In the context menu, choose the name for your project debug configuration.

If you do not have a project debug configuration:

                            a.      Choose Open Debug Dialog.

Alternatively, choose Run Open Debug Dialog.

                            b.      Enter a name for the debug configuration.

                            c.      Select the project you want to debug.

                            d.      Select further debug parameters as necessary.

       4.      Choose Debug.

 

End of Content Area