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

abap dictionary

Former Member
0 Likes
697

what is difference between break point and watch point

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
678

This message was moderated.

5 REPLIES 5
Read only

Former Member
0 Likes
678

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

Read only

0 Likes
678

same thread.

Read only

former_member196299
Active Contributor
0 Likes
678

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

Read only

Former Member
0 Likes
679

This message was moderated.

Read only

Former Member
0 Likes
678

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.