‎2007 Apr 26 12:01 PM
tell me pls
1.what is wathcpoints and breakpoints
2.what is the maximum no of watch & break points can be used in a abap program
‎2007 Apr 26 12:05 PM
Hi Pandu,
Watchpoint: when ever a particular value is assigned to particural variable you want the program to wait for the analysis/ checking.
Breakpoint: Stop the execution of the program when ever the control come to the breakpoint position.
Regards,
Satya
‎2007 Apr 26 12:07 PM
Hi..
Breakpoint is used to stop ur program at a particular point while debugging...
eg u can set breakpoint at perform...
whereas watchpoint is something...where u can specify some condition..when that is reached..program logic stops there..
eg..your are running a loop...and one of the field is Sales Order VBELN...
u can set a watchpoint such that...when the field (work area ) in the loop reaches value.. 1000 ..
Suppose ur internal table has Orders : from 500 to 1500
ur program will stop for the loop where order field has value 1000 sy-tabix 500 in this case..
hope this helps..
Praveen .
‎2007 Apr 26 12:08 PM
Hi,
Watchpoints can be set to view if a particular variable has achieved a value while debugging.e.g. say u create a watchpoint that variable a contains 10.
Then ur debugging will stop at the point where a will achieve the value 10.
Breakpoint : Wherever u set a breakpoint, the processing will stop there for debugging.
We can have at most 30 breakpoints in a single program.
Regards,
Himanshu
‎2007 Apr 26 12:10 PM
Hi,
I guess you should spend some time going through these two documents for a clear idea of both..
http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617cbee68c11d2b2ab080009b43351/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617cd9e68c11d2b2ab080009b43351/content.htm
Regards,
Suruchi
‎2007 Apr 26 12:14 PM
hi,
breakpoint: breakpoint is a singnal in a line of code that tells the abap processor to interrupt the program at the client and start the debugger.
we can display up to 30 breakpoints.
watchpoints: we can set a watch point for a field or structure , so that the program is interupeter when ever the value of that field or structure changes.
we can display up to 5 watchpoints.
‎2007 Apr 26 12:19 PM
hi ,
<B>Watch points </B>:
Watch point is used while debuging , if u want to stop at a particular value of a field.
Watchpoint is used when you don't know the exact location where you need to stop the program but when you know that a particular varaible reaches a value.
eg: when you want to stop at a point when count becomes 100, then you can keep a watchpoint.Break point is used when you know the location of the statement in the program where you wan't to stop the control.
Typically there is no limit at all.(may be some unrealistically high number).
Typically there is no limit at all.(may be some unrealistically high number).
<B>Break points </B>
Break point is what we stop the program at a particular point in the program.
The BREAK-POINT is a debugging aid. When you run a program normally, it is interrupted at the statement, and the system automatically starts the debugger, allowing you to display the contents of any fields in the program and check how the program continues.
If the program is running in the background or in an update task, the system generates a Syslog message.
I hope this answers your querries ...
Do not forget to reward points for helpful answers ..
Thanks
Ranjita
null
‎2007 Apr 26 12:25 PM
HI
good
1->
http://help.sap.com/saphelp_nw2004s/helpdata/en/f1/792442db42e22ce10000000a1550b0/content.htm
2->As per your requirement,there is no such restrictions.
thanks
mrutyun^