2006 Dec 13 5:59 AM
What is the diffrence between watchpoint and breakpoint?
How many watchpoints and breakpoints can be used in each program?
Types of watchpoints and breakpoints?
What is the diffrence between watchpoint and breakpoint?
How many watchpoints and breakpoints can be used in each program?
Types of watchpoints and breakpoints?
2006 Dec 13 6:00 AM
hi,
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.
<b>more at
http://help.sap.com/saphelp_nw04/helpdata/en/c6/617cdce68c11d2b2ab080009b43351/content.htm</b>;
Regards
Anver
2006 Dec 13 6:03 AM
Hi,
Difference betn break point and watch point,
Break points can be set before the program is executed and while in execution ,
Watch points are set only at the time of execution,
Break points helps u to stop at a certain point while executing while watchpoint
when added helps u to moniot he values for a certain field during the whole
program.
Regards,
Vaibhav B Gawali.
2006 Dec 13 6:09 AM
When you put a breakpoint in a particular line of source code, while execution, program stops here.
we can set the BREAK POINT inside the code.
when the pgms reaches there, the pgm will stop.
no condition check is possible
Static breakpoints - you can use statement BREAK-POINT or use BREAK <user>
Dynamic breakpoint - put cursor on the statement where you need to put breakpoint and press the STOP Button.
For watchpoints, we need to give some condition and when this condition is satisfied, program will stop
Start debugging '/H'.
In the debugging screen press the create watch point button in the application tool bar..
In the program give the program name..
in the field give the field name.
In the relational operator given '=' In the comp. field/value give the value ..
2006 Dec 13 6:16 AM
2006 Dec 13 6:18 AM
2006 Dec 13 7:03 AM
Other people are saying there is no limit of setting dynamic brkpoints...And this answer says max 30 brkpoints can be set. Which one is correct?
2006 Dec 13 7:06 AM
hello anurita,
If you are confused, juz try it in one sample program and you will be convinced.
By the way, please reward helpful answers!!
2006 Dec 15 6:49 AM
hi anurita,
please make it a practice to reward helpful answers!!
2006 Dec 13 6:11 AM
Hi anurita,
1. Break Point.
At particular LINE of SOURCE CODE,
the system will STOP there.
2. Watch Point.
(For this, we have to give some
VARIABLE NAME & VARIABLE VALUE - with relational operator)
When this CONDITION gets satisfied,
(anywhere during the execution of the program),
the system will AUTOMATICALLY STOP THERE.
(EG when the value of matnr reaches the specified value)
That is the purpose of WATCHPOINT
(the system will WATCH it, like a dog)
regards,
amit m.
2006 Dec 13 6:16 AM
hi anu,
Break point is one which helps us in a step by step execution..
It is specified once the code is activated ...i
It is given before execution..
It cannot be given in flow logic...
U can have as many break points u want but its better u ckeep it where u want
the check to be done.
In break point u have to use F5 for step by step execution F6 for execution from
break point to nreak point and F8 to go to result...
Watch point is one which we specify in debug mode..
It is also a break point but it is done for a specific value..
like break point any no of watch point can be kept..
While creating a watch point it will ask for the field and relational operator ..
regards,
Rajkumar.G.
2006 Dec 13 6:21 AM
hey anu,
dynamically u can keep break points by just right clicking at the point where u want it..
here also there is no criteria u can have as many u want.. but its unnecessary because u can use F5 instead of keeping further breakpoints..
Using F5 u can go check execution at each and every level..
regards,
Rajkumar.G.
2006 Dec 13 6:23 AM
Hi ,
Watch points are kept so that if a set conditions are satisfied .
Break point are kept to find the flow of the program from some point where necessary .
It is advisable to use break-username .Break-point stops any other user using that transation .
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |