2007 Aug 10 7:48 AM
what is the defference between breakpoint and watchpoint
regards
sami
what is the defference between breakpoint and watchpoint
regards
sami
2007 Aug 10 7:51 AM
Break Point:
If want the run the report from specific point in debugging mode u can set break point and execute the report or object,
u can set the break point either dynamically or statically.
BREAK-POINT { [ID group]
| { [log_text] [AT NEXT APPLICATION STATEMENT] } }.
Effect
This statement defines an unconditional checkpoint (breakpoint). Whenever the program reaches an active breakpoint during dialog processing, program execution is interrupted. The system then branches to the ABAP Debugger. Any inactive breakpoint is ignored and program execution is continued with the statement following BREAK-POINT.
Watch point:
when ever u want see the out put while excution the object u can see the using with watch point statement.
In addition check these links........
Regards,
Pavan
2007 Aug 10 7:51 AM
Hi..
Break-point is used to Halt the exectuion of Program at a particular statement.
Break point is not based on a Condition.
We can create up to 30 Break points.
Watch point is always a Condition on a Field. Eg SY-TABIX > 10.
Whenever the Condition satisfies then the System throws the message " Watch point reached".
We can create up to 10 WATCH points.
<b>Reward if Helpful</b>
2007 Aug 10 7:51 AM
Hi,
the breakpoint stop at a definied place in the coding and the watchpoint stop if e.g. the field value changed.
Regards
Nicole
2007 Aug 10 7:52 AM
Hi,
Breakpoints
You can set the following types of breakpoints:
static
Set directly into a program's code with the Editor. Static breakpoints are generally user-independent. You can also set user-dependent static points.
dynamic
Set from within the ABAP/4 Editor or the Debugger. Dynamic breakpoints are invisible when you display the program's code in the Editor
watchpoints
Set from within the Debugger. Watchpoints are field-specific. You use a watchpoint to observe changes to a particular field. The Debugger interrupts the program when the field's contents change.You can only set one watchpoint at a time.
key word or event breakpoints
Set from within the Debugger. The Debugger interrupts the program when the ABAP/4 runtime processor comes across the specified keyword or event in the program's code.
Dynamic breakpoints are user-specific. If you want to interrupt a program when you execute it but not when others are running it, then you should set dynamic breakpoints. Dynamic breakpoints are more flexible than static breakpoints, because they can be removed or deactivated during runtime. You can set dynamic breakpoints without making any changes to your program's code.
For additional information on breakpoints see Help Basis System ABAP/4 Development Workbench ABAP/4 Workbench Tools Debugging Tools
http://sap.mis.cmich.edu/sap-abap/abap03/sld020.htm
Regards,
Sankar
2007 Aug 10 7:53 AM
Hi
reward if usefull
Watch points
Break Points
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. For further information, refer to Watchpoints.
Breakpoint Variants
The Debugger contains different breakpoint variants:
Static
The BREAK-POINT statement in an ABAP program. Static breakpoints are not normally user-specific. However, you can make them user-specific.
Directly-set
dynamic breakpoints
Can be set in the ABAP Editor or the Debugger. Dynamic breakpoints are always user-specific, and are deleted when you log off from the R/3 System.
Breakpoints
at statement
The Debugger stops the program directly before the specified statement is executed.
Breakpoints
at subroutine
The Debugger stops the program directly before the specified subroutine is called.
Breakpoint at function module
The Debugger stops the program directly before the specified function module is called.
Breakpoint at method
The Debugger stops the program directly before the specified method is called.
Breakpoints at system exceptions
The Debugger stops the program directly after a system exception, that is, after a runtime error has been intercepted.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |