Showing results for 
Search instead for 
Did you mean: 

Web Dynpro Debugging

Active Participant
0 Kudos


can anyone tell me whether of not it is possible to add Watchpoints in the Web Dynpro debugger. I found the Add Java Watch Expression, but how do I make a watchpoint out of that?


I only what to break when a counter hits 10. How can I achieve this in the Web Dynpro debugger? ... please provide concrete code ...

Any help is greatly appreciated.


Accepted Solutions (1)

Accepted Solutions (1)

Active Participant
0 Kudos


thanks for the answer, but that is exactly what I try <b>not</b> to do!

I would like to add a watchpoint without changing anything in the source code.

I apologize if I did not express myself clearly in the previous post.

Active Contributor
0 Kudos

Hello Elvez,

let say you have a code

for (int i = 0; i < 10; i++) {
	System.out.println(i);//breakpoint here when i==5

and you would like to stop when i is 5.

Set breakpoint in


right click on breakpoint in left area of source window and select "Breakpoint Properties...". Check "Enable conditions" and input to "Condition:" i==5. Check "condition is 'true'".

Best regards, Maksim Rashchynski.

Answers (1)

Answers (1)

Former Member
0 Kudos

HI Elvez,

The following link will help you to debug your webdynpro application.

You needn't write any "code" for this. Just check if the counter is 10, then write some void statement. Then set the break point to this line. This will serve your purpose.


String nothing =""; // add breakpoint here

Hope this helps,

Best Regards,