cancel
Showing results for 
Search instead for 
Did you mean: 

how to debug session beans in netweaver

Former Member
0 Kudos

hi,

i have written code for connecting sap and getting data from sap using JCO in session bean.

But i want to put breakpoints and debug.

please help me to do this,

regards

Guru

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Hi Guru,

Check

Best regards, Maksim Rashchynski.

Answers (1)

Answers (1)

Former Member
0 Kudos

You can very well do this by :

1. Running WebAS in Debug mode : Open the J2EE engine view in NWDS. from the context menu , select Switch to debug mode.

2. The catch here is project only with EJB cant be debugged so add a web project in your EAR and simply have a single html page in that project. Now in the Debug menu create a new Debug configuration and you will need to fill in all the details wrt the web app and EJB project.

you can then debug your EJB just like a standalone java prog.

-- amol