on 12-09-2005 10:23 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.