on 11-11-2005 7:32 AM
Hi,
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?
Example:
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.
THANKS
Hi,
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Elvez,
let say you have a code
for (int i = 0; i < 10; i++) {
System.out.println("zzzzzzzzzzzzzzz");
System.out.println(i);//breakpoint here when i==5
}
and you would like to stop when i is 5.
Set breakpoint in
System.out.println(i);
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.
HI Elvez,
The following link will help you to debug your webdynpro application.
http://help.sap.com/saphelp_nw04/helpdata/en/be/cffcb407c67842b122bd1296dc810f/frameset.htm
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.
if(counter==10)
String nothing =""; // add breakpoint here
Hope this helps,
Best Regards,
Nibu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.