Entering content frame

Procedure documentation Activating Debugging Locate the document in its SAP Library structure

 

Prerequisites

·        You have launched the SAP NetWeaver Developer Studio

·        You are sure that the SAP J2EE Engine has been launched

·        You can only debug in non-productive server nodes (Productive Use has the value NO)

Procedure

Checking the Server Settings in the Developer Studio

       1.      Choose Window  ®  Preferences.

       2.      In the Preferences list, choose the SAP J2EE Engine node.

       3.      If necessary, select the appropriate installation option.

Choose the SAP J2EE engine is installed on remote host option if you are deploying and debugging the application remotely (LAN scenario). If the SAP J2EE Engine is installed on the same PC as the Developer Studio, choose the SAP J2EE engine is installed on local host option.

 

This graphic is explained in the accompanying text

Switching Server Nodes to Debug Mode

To be able to debug within a running Web Dynpro application, you must activate debugging for the server process of the J2EE Engine. You activate this in the J2EE Engine view.

       4.      If necessary, open the J2EE Engine view. To do so, choose Window  ®  Show View  ®  Other and then select J2EE  ®  J2EE Engine. Choose OK to confirm your entries.

The system displays a view containing status information about the running J2EE Engine.

       5.      Expand the tree display fully until you can see the actual server process (for example server0). 

 

This graphic is explained in the accompanying text

 

       6.      Right-click the server node and then choose Enable debugging of process from the context menu.

Result

The server process is stopped and restarted in debugging mode. Only the ON value is shown for Debug Mode. To display the current status of the server, in the view toolbar, choose Refresh. Wait until the server has the status Running.

 

This graphic is explained in the accompanying text

 

Next step:

Starting a Debug Session  

  

 

Leaving content frame