Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

debugging-watchpoint

Former Member
0 Likes
601

Hi Friends,

why we are set the watch point at Perticular Point in Program??

mean perticular field??? which situation we will set???

can u explain clearly ..

regards,

5 REPLIES 5
Read only

Former Member
0 Likes
568

check this link

http://help.sap.com/saphelp_47x200/helpdata/en/c6/617cd9e68c11d2b2ab080009b43351/content.htm

assume that the control of the debugger is in a <b>loop</b> statement and u want to watch the contents of the header line in the 50th loop pass, instead of clicking F5 key, u can create a watch for the variable sy-tabix with the value 50 and click on the F8 key then the debugger control stops saying that 'Watch point is reached' and then u can check the contents of the header of the table.

Read only

Former Member
Read only

Former Member
0 Likes
568

Hello Vijay,

For example, u are having an Itab having 20000 record. But u want to see the behavior of a particular record where matnr = 'AA' which is at 15000th row.

SO u can wait until the loop comes to this point.

At this situation we will create the watch point.

At Max we can create 5 watch points

Regards,

Vasanth

Read only

0 Likes
568

Hi Vasanth,

thanks for ur clarification regarding my issue.

thnaks alot.

regards,

vijay.

Read only

Former Member
0 Likes
568

hi

good

we use the watch point in the below condition

1- when we want to check with a value of a variable with other variables.

in this case we put the watch point with the value with which we want to check with other values.

Thanks

mrutyun^