<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: debugging in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1825830#M352364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at below link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9cbb7716-0a01-0010-58b1-a2ddd8361ac0" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9cbb7716-0a01-0010-58b1-a2ddd8361ac0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jan 2007 08:49:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-11T08:49:38Z</dc:date>
    <item>
      <title>debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1825826#M352360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is debugging?types of debugging?watchpoint ?breakpoint?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 08:39:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1825826#M352360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T08:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1825827#M352361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;3 types update,normal and system debugging &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this for update debugging&lt;/P&gt;&lt;P&gt;If you set "Update Debbugging" you can debug the codes which works in update tusk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP std often runs the routine (function or form) to update the database in update tusk mode, these routine start as soon as a commit work is done.&lt;/P&gt;&lt;P&gt;The commit is called at the end of the program, so you can't debug them by "normal debbugging" because it ends as soon as the program ends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or----&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;All the database updates are performed by the update work processes by calling the functions/subroutines in update tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These tasks are executed after a commit work is reached in the application. By default you cannot debug these functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TO debug these u need to explicitly activate update debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for system debugging check the below link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/5f0640555ae369e10000000a155106/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/5f0640555ae369e10000000a155106/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For debugging tutorial:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005vp/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/tips/debug/debughome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/tips/debug/debughome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/sapab002.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/sapab002.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System Debugging&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update Debugging&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normal Debugging&lt;/P&gt;&lt;P&gt;Normal debugging is the one we do it by the normal dynamic break points or by /H or by using stattic break points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can switch to diffferent debuggin modes while processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;BREAKPOINT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Watchpoint&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For watchpoints, we need to give some condition and when this condition is satisfied, program will stop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example : if you want to debug only&lt;/P&gt;&lt;P&gt;for matnr value 100 than set watch point&lt;/P&gt;&lt;P&gt;matnr = 100. when value reaches 100 than&lt;/P&gt;&lt;P&gt;program stops at that point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;more at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c6/617cdce68c11d2b2ab080009b43351/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c6/617cdce68c11d2b2ab080009b43351/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 08:41:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1825827#M352361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T08:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1825828#M352362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Please read SAP help . Otherwise ref some sap siites.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,anjireddi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 08:42:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1825828#M352362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T08:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1825829#M352363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Debugger is a programming tool that you can use to execute ABAP programs, by line or by section. With this tool, you can display data objects and check the flow logic of programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Two types of debugging are currently possible:&lt;/P&gt; Debugging with the classic Debugger for release levels up to and including 6.40 or debugging with the new Debugger, which is available for all releases after 6.40. The main differences between the classic and the new ABAP Debuggers are described below:&lt;BR /&gt;&lt;BR /&gt;· &lt;B&gt;&lt;P&gt;The Classic ABAP Debugger&lt;/P&gt;&lt;/B&gt; runs in the same roll area as the application to be analyzed (debuggee). It is therefore displayed in the same window as the application. However, this technology also has some restrictions. For example, some ABAP programs (such as conversion exist) cannot be analyzed in debug mode for technical reasons. However, the most significant restriction is that no ABAP technology can be used for designing the Debugger interface and it is therefore not possible to create a modern user interface.&lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;&lt;P&gt;* The New ABAP Debugger,&lt;/P&gt;&lt;/B&gt; on the other hand, is executed in a separate external session (Debugger), while the application to be analyzed (debuggee) uses a second external session. With this technology, the user interface of the Debugger can be designed freely by ABAP means.&lt;BR /&gt;Breakpoints Locate the document in its SAP Library structure&lt;BR /&gt;&lt;BR /&gt;Apart from being able to execute an ABAP program in the Debugger, you can also start the Debugger call by the choosing a &lt;B&gt;&lt;P&gt;breakpoint.&lt;/P&gt;&lt;/B&gt; 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 Debugger is activated when the program reaches this point.&lt;BR /&gt;&lt;BR /&gt;Like a breakpoint, a watchpoint is an indicator in a program that tells the ABAP runtime processor to interrupt the program at a particular point. Unlike breakpoints, however, &lt;B&gt;&lt;P&gt;watchpoints&lt;/P&gt;&lt;/B&gt; are not activated until the contents of a specified field change. Watchpoints, like dynamic breakpoints, are user-specific, and so do not affect other users running the same program. You can only define watchpoints in the Debugger.&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 08:45:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1825829#M352363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T08:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1825830#M352364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at below link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9cbb7716-0a01-0010-58b1-a2ddd8361ac0" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9cbb7716-0a01-0010-58b1-a2ddd8361ac0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 08:49:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1825830#M352364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T08:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1825831#M352365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; You haven't marked any points to me on to your previous question . Please mark the helpful answers and close the thread if answered ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 09:24:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1825831#M352365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T09:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1825832#M352366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugging is an integrated test tool that allows you to check &lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;the program logic and to find errors in the source code of an ABAP program. &lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;The running program is interrupted after each step, allowing you to check its processing logic and the results of individual statements.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Types of Debugging:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1] Classic Debugger&lt;/P&gt;&lt;P&gt;2] New Debugger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1] Classic Debugger&lt;/STRONG&gt;: &lt;SPAN style="color: #333333; font-family: Arial, Helvetica, 'Microsoft YaHei', Meiryo, 'Malgun Gothic', sans-serif; text-indent: -17.33333396911621px;"&gt;The Classic Debugger runs in the same internal session of the same external session as the application you are analyzing i.e Debugger and Debugee runs in the same (internal) session.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, 'Microsoft YaHei', Meiryo, 'Malgun Gothic', sans-serif; text-indent: -17.33333396911621px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2] New Debugger:&lt;/STRONG&gt; New ABAP Debugger uses uses two separate sessions for the debugger and the application. It is the more robust Debugger architecture with less risks involved and is faster than classic debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Breakpoint: &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;A breakpoint is a signal in a line of code that tells the ABAP runtime processor to interrupt the program at that line and start the ABAP Debugger.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Static Breakpoint:&lt;/STRONG&gt; &lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Static breakpoints are not normally user-specific. Once a user has inserted a BREAK-POINT statement in an ABAP program, the system always interrupts the program at that point. You should only use static breakpoints during the development phase of an application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dynamic Breakpoint:&lt;/STRONG&gt; &lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Dynamic breakpoints are user-specific. You should, therefore, use them when you only want the program to be interrupted when you run it yourself. All dynamic breakpoints are deleted when you log off from the R/3 System.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Watchpoint:&lt;/STRONG&gt; &lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Like a breakpoint, a watchpoint is an indicator in a program that tells the ABAP runtime processor to interrupt the program at a particular point. Unlike breakpoints, however, watchpoints are not activated until the contents of a specified field change.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;You set watchpoints in the Debugger to monitor the contents of specific fields. They inform you when the value of a field changes. When the value changes, the Debugger interrupts the program.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 06:13:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1825832#M352366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-05T06:13:51Z</dc:date>
    </item>
  </channel>
</rss>

