cancel
Showing results for 
Search instead for 
Did you mean: 

how to debug sap webdynpro abap applications

Former Member
0 Kudos

hi friends, please let me know how to debug webdynpro abap applications?

Accepted Solutions (0)

Answers (7)

Answers (7)

ashish_shah
Contributor
0 Kudos

Hi,

1) Set an External Break point in your Controller

2) Activate External Break point by Utilities --> External Breakpoints -> Activate / De active ( you may have to select this option twice )

After this you should get a message User <> is enabled for External Debugging Validity 2 hours.

3) Run your WebDynpro Application

4) When it stops at debugger , you can view controller's Context and View using Special tools. Click on New Tool --> Special Tool --> WebDynpro.

Here you can see context nodes and View Layout properties in debugging.

Regards,

Ashish Shah

marcin_cholewczuk
Active Contributor
0 Kudos

Hi,

If you're using new system version then you can use this new feature "Memory Analysis". There is option to show data in more readable form if this is web dynpro. For details please check this link /people/stephen.pfeiffer/blog/2011/03/24/new-memory-analysis-tools-for-abap-web-dynpro

Best regards

Marcin Cholewczuk

Former Member
0 Kudos

Hi Jyothi,

Unlike ABAP there is no internal breakpoint that is available in WEB DYNPRO.

1.All we have is external breakpoint that is a "STOP" button on right side top which is visible when you open the method you used in your application.

2.Click on the line on which you want to put a break point and click on the "STOP"(external breakpoint) button then you can see a breakpoint on the selected line has been set.Make sure that you activate the application before you set a breakpoint.

3.Now run the application which you want to run,immediately both the browser and the Debugger application will be opened together,go step by step by clicking on the debugging top left buttons on F5(one step execution),and check for the results what you wanted to look for in the table below by double clicking on the code that is shown in debugger application and as you move forward every step,you can see your output in the attributes you select on your code which are visible in the table in the bottom(older version of Debugger application) and in the new table will be on the right side,code on the left.

4.Thats it,you are done.If you have more queries if any please feel free to post.Thanks.

Praveen kambala.

So,did my reply solved your issue Jyothi.thanks.

Edited by: PRAVEEN KAMBALA on Apr 10, 2011 8:24 AM

Former Member
0 Kudos

set external break point in methods for debugging

alison_lloyd
Active Participant
0 Kudos

if you just code breakpoints eg break user it will not necessarily stop at the code until you have manually set a breakpoint through the editor in the client you want to debug in. Once you set any additional external breakpoints for user it will stop at those and any you have coded.

Former Member
0 Kudos

Hi Jyothi,

There is no specific methods to debug webdynpro abap coding... just follow as normal debug methods used in ABAP.

Go to any methods in webdynpro abap .. Just set break-point at desired position and run your application,

it goes to debug mode.. OR

Use the External Debuggin option/Icon onthe tool bar for WDA application.

In the utilities-> External breakpoints->Set/Delete External Breakpiont and activtae them.

If you want more help.. go through this

http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e9a9d90-0201-0010-478e-991dbea73...

Cheers,

Kris..

Edited by: kissnas on Feb 23, 2011 1:15 PM

former_member214355
Contributor
0 Kudos

Hi

I have moved your thread to Web Dynpro ABAP forum.

Thanks