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
-
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
-
Set the desired breakpoints in the code.
-
On the toolbar, choose the .
-
In the Debug dialog, expand the SAP Application node and select the required debug configuration.
If you do not have a project debug configuration:
-
Choose New launch configuration icon.
-
Enter a name for the debug configuration.
-
Select the project you want to debug.
-
Select further debug parameters as necessary.
-
-
Choose Debug .

