CSS Remote Debug Launch Configuration
Steps necessary to remotely debug an application running on customers side:
-
Logon to CSS, choose either transaction STFK or go to the remote connection transaction
via the OSS message of the customer.
-
Choose the appropriate installation listed for the customer.
-
A tree list of available systems for that installation is displayed.
The appropriate system should have the status open.
If not inform the customer that the connection needs to be opened.
Double-click. A tree for this system is displayed.
-
Check JAVA DEBUG in the list of connections. This connection should then be marked
with a green icon.
-
Check the appropriate application server from the list of application servers. This
should be the cluster you wish to debug. The server should be marked with a green icon.
-
Open the "Customer contact person for services" tree. Look at the port number
displayed after the contact person for the service JAVA DEBUG. This MUST be equal
to the debug port of the remote application!
-
Click "Download" on the toolbar. The appropriate data will now be exported to a temporary
file on ones frontend.
-
If necessary connect to remote engine via the HTTP Connect service of the CSS (eg. for
stopping/starting applications etc.).
-
Switch to the SAP Netweaver Developer Studio. Choose Run->Debug...
From there CSS Debug Session->New. This will display a new CSS Remote Debug
configuration.
-
Choose the appropriate project from your list of projects (For J2EE applications choose
the web project). This serves only as root for debugging source retrieval. On the Source Tab
you can add as many projects as you like.
-
Choose the appropriate customer connection. When pressing Choose... all possible connections
which have been saved previously from the CSS to the frontend will be displayed. Choose
the appropriate one.
-
Press Debug.
-
Have fun!
-
When finished, just press Disconnect in the toolbar of the Debug View.
The configuration allows to prepare the necessary entries for connecting to a specific customer
appropriately.
Remote Debug Tab
- Project: One needs to choose one project as your base project to debug.
- CSS Connection Data: From CSS, there will a list of possible connections be
generated on the frontend. One needs to choose the appropriate entry for
connecting via sap router to the customer desired.
Source Tab
Here one can add additional entries for source retrieval. The "Use default source lookup path"
checkbox has to be unchecked in order to do this.
In any case the user will be prompted for unknown source coding when the debugger stops.