cancel
Showing results for 
Search instead for 
Did you mean: 

remote debug in pck

Former Member
0 Kudos

how to remote debug in pck? can anyone help?

which file i need to change to set to debug mode? i did not find the file

Message was edited by: Spring Tang

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi spring,

I am using decentralised ADapter engine for testing the Sample adapter. I am deploying the sample adapter through SDM and wants to debug it from NWDS.Can i debug that like normal remote application ? Is there anyway to deploy Sample Adapter through NWDS or Ecclipse.

regards,

Gowtham K.

Former Member
0 Kudos

Hi Spring,

Did u debug the adapter using PCK ? Please help me to debug the Sample Adapter for better understanding of JCA.

regards,

Gowtham K.

Former Member
0 Kudos

1. go to <SAPSID>/JC<instance-number>/j2ee/configtool/

2. run the batch file configtool.bat

3. accept the default.

4. click the instance node in left panel under the cluster

5. click the servers debug tab in right panel

6. check debugable and enabled debug mode

7. click the server node in left panel

8. click the debug tab in right panel

9. check debugable and enabled debug mode

now the server is in remote debug mode.

0 Kudos

Hi Spring

In principle you can remote debug the PCK just like any other SAP J2EE: enable debugging on the cluster (node) in question and connect from NWDS. However, you face one BIG problem: the source code for the PCK is not available, so debugging is basically meaningless

Depending on what exactly you want to accomplish, it might help to simply increase the trace-level for the PCK components you are interested in and look at the resulting trace file for details.

Regards,

Thorsten

Former Member
0 Kudos

which file i need to change to set to debug mode? i did not find the file

0 Kudos

Hi Spring

The easiest way to enable debugging is through NWDS:

1. Configure NWDS to connect to your WebAS

2. Open the "J2EE Engine" view

3. Right-click the server node you wish to debug and choose "Enable debugging"

The server node will then restart with debugging enabled. The next step is to actually find an entry-point to start debugging. NWDS allows you to define debug configurations for Servlets/JSPs and Web Dynpro applications, so you need to:

4. Set a breakpoint in a Servlet, JSP or Web Dynpro application

5. Define a debug configuration for that application

6. Start the debugging session

Once the debugging session (and thus the debugging connection to the server) is active, you are not limited to debugging Servlets, JSPs and Web Dynpros but can set breakpoints in arbitrary locations.

Best regards,

Thorsten

Former Member
0 Kudos

my collegue used config tool sap pck provided to configure the debug mode, it succeeded.