cancel
Showing results for 
Search instead for 
Did you mean: 

Debug WebDynpro Component in NWDS?

Former Member
0 Kudos

Pro's I need some help here...

Does anybody know how to debug a webdynpro component from NWDS?

Thanks, Johannes

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You need to enable debugging on your server.

Then from the debug config specify the host and the port

if your trying to debug from portal select remote java app or else Webdynpro.

Put break points and launch your application.

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_library&query=debug+webdynpro&adv=false&sortb...

Regards

Ayyapparaj

Former Member
0 Kudos

These Manuals seem to be old... My NWDS has different tabs, e.g. no view SAP J2EE Engine...

Does anybody have an acual manual?

It has to be possible to actually debug a webdynpro component from NWDS! But how?

Thanks!!

Johannes

Former Member
0 Kudos

What version of NWDS are you using? Have you tried to create a Debug configuration via the button in the toolbar?

Armin

Former Member
0 Kudos

I am using Netwaever CE 7.1

I have tried to create a new webdynpro debug configuration. I was able to choose the project to debug, but not the application.

Does anybody know, how to configure this? (Debug -> Webdybpro -> New Configuration -> Debug | SAP System | Source | Common)?

Thanks, Johannes

Former Member
0 Kudos

I found this manual:

http://help.sap.com/saphelp_nw04/helpdata/en/78/dde7e4e4e08c4aa77aecd8d42d71d0/content.htm

which is reffering to an older version of Netweaver...

Obviously, my version (7.1) doesn't have this structure, e.g. I don't find:

Window ® Show View ® Other and then select J2EE ® J2EE Engine

Is there an actual manual for debugging a webdynpro app? There has to be one somewhere...?

Thanks, Johannes

Former Member
0 Kudos

Hi Johannes,

You can refer to the following [link|http://help.sap.com/saphelp_nwce10/helpdata/en/42/9dd20ebb211d75e10000000a1553f6/frameset.htm].

It is for debugging Web Dynpro Applications in CE.

Hope it helps.

Regards,

Alka.

Former Member
0 Kudos

Hi,

Choose Window -> Preferences

In the list Preferences, select the node SAP AS Java.

Provide your instance number and instance host.

Click on register SAP instance.

Go to Show View

select Server->Servers

Now your server name will be displayed

To check the debug is enabled

Right click on the server node and select show Management console

Select Access Points -> Check the protocol debug and check the value for active

I guess the above hints will help you.

Regards

Ayyapparaj

Former Member
0 Kudos

if your server is in debug mode, the server > servers view state should reflect this in the State column 'Debugging' and an xtra bug-icon

I have tried to create a new webdynpro debug configuration. I was able to choose the project to debug, but not the application.

if your web dynpro (?) project has only one application, it should be found automatically in 7.1

if not, the browse button should provide a list with all available wd apps of your project..

Edited by: Martin Clabunde on May 7, 2008 9:49 AM

Edited by: Martin Clabunde on May 7, 2008 9:50 AM

Former Member
0 Kudos

I have restarted the server in debug mode. server status is show as 'Debugging', which is good.

Unfortunately, I cannot debug, nor can I connect to the ce portal anymore (503 Service not available).

What happened?

Is the server running on a different port now (debug port)?

Thanks for helping me out there...

Johannes

Former Member
0 Kudos

by the way, the server tells me the following when trying to connect:

ICM running but no server with HTTP connected - Load Balancing failed

Thanks, JJJ

former_member201361
Active Contributor
0 Kudos

hi,

While the server is in the debug mode we will not be able to Deploy or run any application , we will get the 503 Service not available . and for further Information please reter this link.

[http://help.sap.com/saphelp_nw04/helpdata/en/46/1bf23ea4b42e5ae10000000a114084/frameset.htm]

[http://help.sap.com/saphelp_nw04/helpdata/en/cc/9cb34d9d11f74c98644df2b96b90f1/frameset.htm]

Thanks and regards

Fazal B

Edited by: Fazal Ahamed on May 7, 2008 10:50 AM

Former Member
0 Kudos

if you setup the server into debug mode you can choose from 4 options ... the advanced button ^^... maybe this helps

<a href="http://help.sap.com/saphelp_nwpi71/helpdata/en/45/e4fa02855c2e97e10000000a155369/frameset.htm">http://help.sap.com/saphelp_nwpi71/helpdata/en/45/e4fa02855c2e97e10000000a155369/frameset.htm</a>

Former Member
0 Kudos

I actually wanted to debug a WebDynpro Component.

I have created a Test Application, with which I was able to start the debug process.

However, is there a possibility to debug a WebDynpro Component ?

Thanks, JJJ

Edited by: Johannes Schnatz on May 7, 2008 2:38 PM

Former Member
0 Kudos

by the way:

I receive th efollowing exception when trying to start a debug session:

Unhandled event loop exception

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)

Anybody an idea?

Thanks

Edited by: Johannes Schnatz on May 7, 2008 2:55 PM

Former Member
0 Kudos

It is possible to debug a webdypro application.

I want to debug a web dynpro component, which implements IGPWebDynproCO and is used as a Callable Object in Guided Procedure Framework.

How can I do that?

Thanks

Former Member
0 Kudos

Hi Johannes,

To debug an application

Run-> Debug->Webdynpr->

Right click and select new

Once this is done you will see four tabs

1)Debug: select your project and the application to launch

2) Select the SAP System for Debugging

3)Source need to be added here.

Check the following blog for more detailed exaplination and process to do debugging

/people/karsten.geiseler/blog/2005/07/04/netweaver-portal-debugging

Hope that helps, incase if issues let me know

regards

Anil

Edited by: Anil Dichpally on May 5, 2008 8:11 PM