‎2008 Apr 21 7:10 AM
i want to learn debugging with the help of watchpoints
can u please provide me some details
‎2008 Apr 21 7:11 AM
Hi,
please check this link for watch points
http://help.sap.com/saphelp_nw70/helpdata/en/e2/5f5a42ed221253e10000000a155106/content.htm
http://sapstore.blogspot.com/2006/11/test-tools-abap-debugger.html
reward if helpful
raam
‎2008 Apr 21 7:12 AM
Hi,
watchpoint can be either local or global. Local watchpoints are only valid in the specified program. Global watchpoints are valid in the specified program, and also in all the other programs it calls.
Procedure
To set a watchpoint, start the Debugger and proceed as follows:
1. Choose Breakpoint-> Create watchpoint or
the corresponding pushbutton.
The Create Watchpoint dialog box appears:
2. Decide whether you want to set a local or global watchpoint.
3. Enter the program and the name of the field for which you want to set the watchpoint. In the Program field, the name of the program currently running is always defaulted.
4. If you want your watchpoint to be activated each time the contents of the field change, the definition is now complete, and you can return to the Debugger by pressing ENTER .
5.To create a conditional watchpoint, that is only activated when a particular situation arises, choose one of the following relational operators.
Operator meaning
< Less than
> greater than
similarly <= , = , <> ,>=.
6. You can use the Comparison field option to specify whether the comparison is to be carried out with a value that you specify or with the contents of another field.
result
The system confirms the watchpoint and adds it to the list in the display. When you finish your debugging session, the watchpoint is automatically deleted unless you have explicitly saved it.
Regards,
Satish
‎2008 Apr 21 7:16 AM
‎2008 Apr 21 7:15 AM
Hi Frd
WATCHPOINT - Watchpoints allow you the option of monitoring the content of individual variables.
The Debugger stops as soon as the value of the monitored variable changes.
In addition, conditions can be specified. The Debugger also checks whether such a condition is fulfilled.
Check This Link:
http://help.sap.com/saphelp_nw70/helpdata/en/f1/792442db42e22ce10000000a1550b0/content.htm
Reward Me Points
By
Pari
‎2008 Apr 21 7:26 AM
‎2008 Apr 21 7:29 AM
Hi,
1.Watchpoints allow you the option of monitoring the content of individual variables.
2. The Debugger stops as soon as the value of the monitored variable changes.
3. In addition, conditions can be specified. The Debugger also checks whether such a condition is fulfilled.
In the toolbar of the New Debugger, you will find the pushbutton Create Watchpoint . It brings you to the dialog box Create Watchpoint.
Using this function, you can enter the variable to be monitored.
All possible ABAP data structures are allowed here.
Reward If Helpfull,
Naresh.
‎2008 Apr 21 7:29 AM
Hi,
If you are debugging your code, and say in a loop you have some 1000 entries.Now if you want to debug for the 500th entry, you can set a Watch Point giving Sy-tabix = 500 and activate your watch point.Now you can directly debug the 500th entry.
Rwd if helpful.
Thanks.