Application Development 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: 

Watch points

Former Member
0 Kudos

Where and when watch points were used

8 REPLIES 8

Former Member
0 Kudos

in debug mode. You can set a watch point on a specifc field for a specific value.

Former Member
0 Kudos

Hi,

Watch points are field specific and Break Points are code specific ...

and if u want still more information go through the below links....i hope u will get the information u are looking in this links...

http://help.sap.com/saphelp_nw04/helpdata/en/c6/617cdce68c11d2b2ab080009b43351/content.htm

http://help.sap.com/saphelp_47x200/helpdata/en/14/6d1c370c468b7be10000009b38f936/frameset.htm

Regards,

Sankar

Former Member
0 Kudos

Hi,

in debug mode we will place the watch points.

we cannot place them at all abap statements like break points.we can place the watch points fr5o variables.

whenever the value of that variable changes the debugger will be triggered if the value of that variable is not changed throughout the program debugger will nor trigger if u press F8 key

<b>reward if helpful</b>

rgds,

bharat.

Former Member
0 Kudos

hI Mahesh

where means in debugging mode u can set watchpoints,

when means if u want to know whether the field is getting some value at that time program will stop....

reward points to all helpful answers

kiran.M

Former Member
0 Kudos

Hi,

There two types advantage if you use watch point properly.

1. if you run sap standard transactions ,some times we get error message ,if you want to debug the complete program ( it may take much time ) ,i mean you want to know where the message is coming.

even you have one more option like double click on message ->it gives message id and message number,In se91 -> you can choose where used list and it shows program name ,but some time it will not show ( I mean dynamic message ).

run the transaction -> /h -> it will go debugging. now create watch point as like

variable as message id and value mesage number,it will stop exactly there.

2. some times you get wrong values on only partcular field ,on few columns ,you want to see the exact select query on that condition,then create watch point

Setting Watchpoints

http://help.sap.com/saphelp_erp2005/helpdata/en/c6/617cdce68c11d2b2ab080009b43351/frameset.htm

Changing Watchpoints

http://help.sap.com/saphelp_erp2005/helpdata/en/c6/617ce2e68c11d2b2ab080009b43351/frameset.htm

Reward if it helps..

Regards,

Omkar.

Former Member
0 Kudos

hi,

when u want to see the value of particular field while execution then u opt for watch point.

if helpful reward some points.

with regards,

Suresh Aluri.

Former Member
0 Kudos

Hi,

You can use the watchpoint in debug mode.

For example if your looking for an document number say 6789 which is in 1000 line. It is very tedious to go thru all the 999 lines. If once you create a watchpoint and press F8 it straight away take to you to the 1000 line no.

Thanks,

Sriram Ponna.

Former Member
0 Kudos

In Debugging mode, if u want to check particular values in a loop, we will make use of watchpoints.