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

hi..

Former Member
0 Likes
347

hi abap guru's...

What is the diffrence between watchpoint and breakpoint?

How many watchpoints and breakpoints can be used in each program?

Types of watchpoints and breakpoints?

3 REPLIES 3
Read only

Former Member
0 Likes
329

hi,

break point is the point where the executioin stop at this point and from

here onwards executionb depends on the user.

watch point is used now the varable value present in the list.

Breakpoints are code specific. You can place them any where in your code

and force to debugging mode.

watch points are field specific. They are only used for fields to give

your desired values.

regards

null

Read only

Former Member
0 Likes
329

Hi Pavan ,

Breakpoint is generic and the program stops at the point where the breakpoint is applied.

Now suppose you want your program to stop when the value of a varaible X becomes 10 ,in such a case breakpoint will not serve the purpose as it does not consider the value of a varaible , so in such a scenarion you use a watchpoint.

The max number of breakpoint you can set in a program is 30.

Regards

Arun

Read only

former_member673464
Active Contributor
0 Likes
329

hi

<b>Break points</b>Apart from direct execution of an ABAP program in the Debugger, it is also possible to start the Debugger call by the exact setting of 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 program runs normally until the breakpoint is reached.

There is also a special kind of breakpoint called a watchpoint. When you use watchpoints, the Debugger is not activated until the contents of a particular field change.

<b>Watchpoints</b>

Like a breakpoint, 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.

regards,

veeresh