‎2008 Apr 03 1:04 PM
Hi frnds,
what are the different types of Debugging?
How 'Session BreakPoint' differs from 'External BreakPoint'?
In many cases, I cannot debug the program although I set these two break-points (Finally I hard-coded the keyword 'BREAK-POINT' to debugg the same prog).
‎2008 Apr 03 1:21 PM
Hi,
Debugging can be done using break points & watch points .
Again break points are either static or dynamic
static means Hard coded and we cant change during run time.
Dynamic - we can select during run time.
session break point is nothng but static and external is dynamic.
Reward me if helpful
jyo.deva
‎2008 Apr 03 1:08 PM
external debugging is for web applications lik WebDynpro and BSP.
Normally you will set a session break-point.
‎2008 Apr 03 1:09 PM
Hi,
System Debugging
If you set this option, the Debugger is also activated for system programs (programs with status S in their program attributes). When you save breakpoints, the System Debugging setting is also saved.
Update Debugging
Update function modules do not run in the same user session as the program that is currently running in the ABAP Debugger. These function modules are therefore not included in debugging. Only if you select the Update Debugging option can you display and debug them after the COMMIT WORK.
Normal Debugging
Normal debugging is the one we do it by the normal dynamic break points or by /H or by using stattic break points.
You can switch to diffferent debuggin modes while processing.
check below links for more info in this PDF file
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/abap-runtime-tools/the%20new%20abap%20debugger%20-%20an%20introduction.pdfCheck these links
http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm" TARGET="test_blank">http://help.sap.com/saphelp_nw04/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm</a>
<a href="http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm" TARGET="test_blank">http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm</a>
<a href="http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc" TARGET="test_blank">http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc</a>
<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm" TARGET="test_blank">http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm" TARGET="test_blank">http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm</a>
<a href="http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm" TARGET="test_blank">http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm</a>
<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm" TARGET="test_blank">http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm</a>
<a class="jive_macro jive_macro_message" href="" __jive_macro_name="message" modifiedtitle="true" __default_attr="3102666"></a>
http://www.saplinks.net/index.php?option=com_content&task=view&id=24&Itemid=34
Look at the SAP help link below
http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/contentEdited by: LAKSHMIRAJ on Apr 3, 2008 2:14 PM
‎2008 Apr 03 1:15 PM
ok,then wat abt..
How 'Session BreakPoint' differs from 'External BreakPoint'?
In many cases, I cannot debug the program although I set these two break-points (Finally I hard-coded the keyword 'BREAK-POINT' to debugg the same prog).
‎2008 Apr 03 1:11 PM
Static Breakpoints
Static breakpoints are not normally user-specific. Once a user has inserted the statement BREAK-POINT or BREAK name in an ABAP program, the system always interrupts the program at that point for that user or only for the user name. This procedure is only useful in the development phase of an application, when the program execution is always to be interrupted at the same place. For further information, refer to Static Breakpoints.
In HTTP sessions, a static breakpoint is skipped if you did not set additional dynamic HTTP breakpoints in the editor of a BSP page. Instead, a corresponding system log entry is written, which can be checked using transaction SM21.
Dynamic Breakpoints
Dynamic breakpoints are user-specific. Therefore, you should use them if you only want the program to be interrupted when you run it yourself, not when it is being executed by other users. All dynamic breakpoints are deleted when you log off from the R/3 System.
Dynamic breakpoints are more flexible than static breakpoints, because you can deactivate or delete them at runtime. They have the following advantages:
You do not have to change the program code
You can set them even when the program is locked by another programmer
You can define a counter that only activates the breakpoint after it has been reached
Special dynamic breakpoints are useful when you want to interrupt a program directly before a particular ABAP statement, a subroutine, or an event, but do not know exactly where to find it in the source code. Event here is used to refer to the occurrence of a particular statement, for example, or calling up a method. Special dynamic breakpoints are user-specific. You can only set them in the Debugger. For further information, refer to Dynamic Breakpoints.
In HTTP sessions, the system stops both at static and dynamic breakpoints if a dynamic breakpoint was set in the editor of a BSP page before program execution.
‎2008 Apr 03 1:16 PM
ok dear,then wat abt..
How 'Session BreakPoint' differs from 'External BreakPoint'?
In many cases, I cannot debug the program although I set these two break-points (Finally I hard-coded the keyword 'BREAK-POINT' to debugg the same prog).
‎2008 Apr 03 1:15 PM
in normal SAP, not Portal (webstuff), use session breakpoints.
There are 3 types of debugging.
Normal debugging (command /h)
System Debugging (command /hs)
update debugging ( when in debugger goto settings -> update debugging to switch it on)
you probably have set some breakpoints in a codepiece which is getting processed in update task. If you then didnt had switched on update debugging, it will not stop.
‎2008 Apr 03 1:19 PM
ok,
then plz tell me,how can i switch-on the update debugging in a prog.
‎2008 Apr 03 1:21 PM
Hi,
Debugging can be done using break points & watch points .
Again break points are either static or dynamic
static means Hard coded and we cant change during run time.
Dynamic - we can select during run time.
session break point is nothng but static and external is dynamic.
Reward me if helpful
jyo.deva