‎2007 Jul 10 10:52 AM
‎2007 Jul 10 11:08 AM
‎2007 Jul 10 10:54 AM
Hi,
break-point : this will stop excution of program at particular code line.
Watch-point : this will stop exectuion of program when specified condition is met.
Jogdand M B
‎2007 Jul 10 10:55 AM
‎2007 Jul 10 10:56 AM
hi ,
Here u go with the difference :
Difference between Watch Point and Break Points :
BREAKPOINT
In the source code we set the Break-point there by clicking the stop button,
the system will stop there when you execute the program.
Watchpoint
For watchpoints, we need to give some condition and when this condition is satisfied, program will stop
example : if you want to debug only
for matnr value 100 than set watch point
matnr = 100. when value reaches 100 than
program stops at that point.
a watchpoint is an indicator in a program that tells the ABAP runtime processor to interrupt the program at a particular point. Unlike breakpoints, however, watchpoints are not activated until the contents of a specified field change. Watchpoints, like dynamic breakpoints, are user-specific, and so do not affect other users running the same program. You can only define watchpoints in the Debugger.
Use
You set watchpoints in the Debugger to monitor the contents of specific fields. They inform you when the value of a field changes. When the value changes, the Debugger interrupts the program.
Features
You can set up to five watchpoints in a program.
See also Setting Watchpoints.
You can also specify the conditions under which a watchpoint is to become active.
You can specify a logical link for up to five (conditional) watchpoints.
Breakpoints :
Apart from being able to execute an ABAP program in the Debugger, you can also start the Debugger call by the choosing a breakpoint. This is achieved by setting one or more of these breakpoints in the program. A breakpoint is a signal at a particular point in the program that tells the ABAP runtime processor to interrupt processing and start the Debugger. The Debugger is activated when the program reaches this point.
Regards,
Ranjita
‎2007 Jul 10 11:08 AM
‎2007 Jul 10 11:17 AM
Hi,
Break points are used to put break points at any statement.,FM,sub rotines,methods etc.
Watch points are used to find if a particual filed reached a particular value.
suppose in ur program u want to find where the vendor number reached 100.you cna create a watch point on this and then press F8,so when this value is reached
it will be stopped.
Check this link -
http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617cbee68c11d2b2ab080009b43351/frameset.htm
Regards,
Priyanka.