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

watch point

Former Member
0 Likes
761

can anyone plz suggest how watchpoint wrks in debugging .?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
734

Hi,

The purpose of watch point is to know when the value of the field is changing.

For example in the debugging mode, there might be 100 of records. you want to keep a break point when a field (say vbeln = 1000). Then you can go for break point.

to create a breakpoint, in the debugging mode, click on create watch point icon.

give the field name, comparison operator and value (if needed). and press ok.

when there is a change in the given field, the debugger stopps at that point.

Reward points if usefull.

Regards,

Niyaz

6 REPLIES 6
Read only

h_senden2
Active Contributor
0 Likes
734

you can for instance add a watchpoint with GX_VBELN = '0000003434'.

The debugger wil stop then, when the variable GX_VBELN is getting this value.

regards,

hans

Read only

Former Member
0 Likes
734

watch point can be set on any field or itab of the current report...

you can create a watchpoint for perticular value...

so after creating watchpoint on F8 debugger will stop at the location where it gets the desired value in the field...

if you have not set any value in watchpoint.. it'l stop wherever that field changes its value...

Read only

paruchuri_nagesh
Active Contributor
0 Likes
734

watch point is field specific

we can see how the current value is changing

regards

Nagesh.Paruchuri

Read only

Former Member
0 Likes
735

Hi,

The purpose of watch point is to know when the value of the field is changing.

For example in the debugging mode, there might be 100 of records. you want to keep a break point when a field (say vbeln = 1000). Then you can go for break point.

to create a breakpoint, in the debugging mode, click on create watch point icon.

give the field name, comparison operator and value (if needed). and press ok.

when there is a change in the given field, the debugger stopps at that point.

Reward points if usefull.

Regards,

Niyaz

Read only

Former Member
0 Likes
734

Hi

For example in ur internal table you have 1000 of records and if you want to check the record which is in between and you want to skip all the records then you can create the watch point by giving that field name and value. Then the debugger will go and stop at that particular record from that record you can continue further.

Regards

Haritha.

Read only

Former Member
0 Likes
734

though nt get a fully satisfied answer still i hope can manage it..