2007 Jun 29 7:06 AM
Hi,
What is the difference between Watch Point and Break Point ?
Regards
Raghavendra
2007 Jun 29 7:13 AM
hi,
break point: to stop the compilation of program
maximum 30 break points can be used
watch point: to view the value of each field
regrds
pradeep
Hi,
What is the difference between Watch Point and Break Point ?
Regards
Raghavendra
2007 Jun 29 7:13 AM
hi,
break point: to stop the compilation of program
maximum 30 break points can be used
watch point: to view the value of each field
regrds
pradeep
2007 Jun 29 7:13 AM
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.
we can arrange the breakpoints up to 30 . watchpoints up to 6.
Regards
2007 Jun 29 7:14 AM
Hi,
break-point- stops the flow of program at defined
point for debug purpose.
watch-point- use to set for particular value
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.
Thanks,
Anitha
2007 Jun 29 7:24 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.
Regards,
Sasi
2007 Jun 29 7:31 AM
Hi raghavendra,
there is not that much difference in breakpoint and watchpoint.
both of them are used to debugg a program.
the main difference between BP and WP is BP can whenever we set BP it will goon debugging all the data of a particular internal table...where as we set WP inside debugging by setting a value of a particular internal table field we can directly jump to that value using WP...
hope this may be helpfull....
please reward incase usefull...
regards,
prashant
2007 Jun 29 7:57 AM
First test your code with '/h' type in command window which shall take you to debug or by putting break points with F8. You test your program from code and then go to se30 performance analysis transaction and there you can know what are the drawbacks. Then go to SLIN transaction and do extended syntax check or from code in menu options where you have debugging -> extended check and the program id ready without error.
As mentioned above after doing syntax check and extended syntax check you have to create a TEST PLAN. You have to test all possible Postive & Negative test cases.
Test for division by zero if it involves calculation or code accordingly.
Try to test for field overflows. If it involves sap script or smart forms try to print outputs which have single page and also multiple page and which does not have any output at all.
Test by leaving all parameters in selection screen blank.
Test by entering wrong values in selection screen and display a pop-up if the user enters wrong selection screen values.
You can also do ABAP trace and SQL trace to make sure that your program is efficient.
<b>Debugging code/program.</b>
As mentioned above type /h in command line and try to execute the program. Another way is to set break-point at the function module or the required line and do single step execute or execute. Once you finished debugging, you can select Delete to clear all the <b>break points.</b>
Third option in certain cases is to check for sy-subrc <> 0 and proceed from there by making it 0 by updating the sy-subrc in the debug editor and see how the program behaves if the value is what you enterd in the debug screen. For certain case try to use <b>WATCH POINT</b> feature in debug editor.
reward points if it is usefull ...
Girish
2007 Jun 29 8:25 AM
Hi all,
Thanks for usefull information.
Regards
Raghavendra.D.S
2007 Jun 29 2:49 PM
hi friend,
the break point is the point where the compilation/executioncan be stopped at any part of the program.it can be set using GUI or can be added with the keywork breakpoint.
then, watch point is used check for the variable value...the execution is stopped when it reaches the required value..
we can set breakpoints up to 30 and watch points for 6 .
thanks
jaideep
reward points if it is useful...
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |