Show TOC

Debugging Mobile Applications for LaptopLocate this document in the navigation structure

Prerequisites

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

Context

You can debug the mobile application by setting break points in the Java code of the project, and then execute the code step by step.

More information: Debugging Applications

Procedure


  1. Set the required break points in the code.

  2. To start debugging, choose Start of the navigation path Run Next navigation step  Debug...  End of the navigation path

  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 .

    Note

    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 Start of the navigation path Run Next navigation step Terminate. End of the navigation path

  7. To close the Debug Perspective, choose Start of the navigation path Window Next navigation step Close Perspective  Next navigation step  Debug. End of the navigation path

    Note

    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 .