Show TOC Start of Content Area

Procedure documentation Debugging Java EE Applications  Locate the document in its SAP Library structure

Use

On AS Java you can debug applications on the fly. Using SAP NetWeaver Developer Studio, you connect to the remote AS Java system, configure the system, and debug the application.

During the debugging, the performance of AS Java deteriorates. It is therefore good practice to restore the productive server state after finishing with remote debugging.

Prerequisites

      The Java EE application is available in the form of a set of Java EE projects in the SAP NetWeaver Developer Studio

How to create a sample set of Java EE projects is shown in our Java EE tutorial. More information: Developing Your First Java EE 5 Application.

      The AS Java connection settings are configured in the Developer Studio

More information: Configuring the Application Server in the Developer Studio.

      The application is deployed on AS Java

More information: Deploying Applications.

Procedure

...

       1.      Configure the AS Java system for debugging.

More information: Configuring AS Java for Debugging.

       2.      Create a debug configuration.

More information: Creating Debug Configurations in the Developer Studio.

       3.      Debug the application source code.

       4.      Stop remote debugging and restore the productive state of the system.

More information: Stopping Remote Debugging.

End of Content Area