Debugging Mobile
Applications for Laptop
You can debug the mobile applicationby setting break points in the Java code of the project, and then execute the code step by step.
More information:
Debugging Applications
You have:
· Deployed the mobile application
· A valid user name and password to access the mobile client for laptops.
More Information: Logging On to the SAP NetWeaver Mobile Client
...
1. Set the required break points in the code.
2. To start debugging, choose Run → Debug…
3. Enter a name for the debug configuration.
4. Select the project and mobile application that you want to debug.
5. Choose Debug.
The SAP NetWeaver Developer Studio perspective changes to Debug.

When you select Debug, the IDE starts the mobile client for laptops along with the debugger. You can set additional break points or remove the existing ones. All the other activities run in a similar way to the mobile application.
6. To stop debugging, choose Run à Terminate.
7. To close the Debug Perspective, choose Window à Close Perspective à Debug.

Alternatively, you can start debugging the application from the context menu of the application node. To debug the application, click the application node with the secondary mouse button and choose Debug.