<?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/1243756#M142885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ravichandran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. suppose i have a long program with&lt;/P&gt;&lt;P&gt;  many loops, logic etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. i want to know,&lt;/P&gt;&lt;P&gt;  AT WHAT POINT&lt;/P&gt;&lt;P&gt;  the value of variable 'XYZ'  becomes 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. So intead of debugging&lt;/P&gt;&lt;P&gt;   every line and loop,&lt;/P&gt;&lt;P&gt;  we define and tell the system&lt;/P&gt;&lt;P&gt;  that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. WHENEVER THE VALUE OF VARIABLE 'XYZ' BECOMES&lt;/P&gt;&lt;P&gt;  5, NOTIFY ME (STOP AT THAT LINE OF CODE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. This is called WATCHPOINT&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;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Mar 2006 05:48:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-09T05:48:20Z</dc:date>
    <item>
      <title>Debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1243754#M142883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u  explain the usage of watchpoint concept in detail in ABAP Debugging .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 05:44:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1243754#M142883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T05:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1243755#M142884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravicharan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Watchpoints are field specific.  The program is stopped when the field reaches the value specified in the watchpoint.  Execute the program in debugging mode.  Position the cursor over the needed field.  Press the F button to get the view of field.  Select the checkbox for the needed watchpoint.  Click on the continue button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting WATCHPOINTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;	Execute a program in debugging mode.&lt;/P&gt;&lt;P&gt;&amp;#149;	Position the cursor over the needed field.&lt;/P&gt;&lt;P&gt;&amp;#149;	Press the F button to get a view of the fields.&lt;/P&gt;&lt;P&gt;&amp;#149;	Select the checkbox for the needed watchpoint.&lt;/P&gt;&lt;P&gt;&amp;#149;	Click on the CONTINUE button.&lt;/P&gt;&lt;P&gt;&amp;#149;	To display the active watchpoint select Goto - &amp;amp;#61614; Breakpoint&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 05:47:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1243755#M142884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T05:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1243756#M142885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ravichandran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. suppose i have a long program with&lt;/P&gt;&lt;P&gt;  many loops, logic etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. i want to know,&lt;/P&gt;&lt;P&gt;  AT WHAT POINT&lt;/P&gt;&lt;P&gt;  the value of variable 'XYZ'  becomes 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. So intead of debugging&lt;/P&gt;&lt;P&gt;   every line and loop,&lt;/P&gt;&lt;P&gt;  we define and tell the system&lt;/P&gt;&lt;P&gt;  that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. WHENEVER THE VALUE OF VARIABLE 'XYZ' BECOMES&lt;/P&gt;&lt;P&gt;  5, NOTIFY ME (STOP AT THAT LINE OF CODE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. This is called WATCHPOINT&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;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 05:48:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1243756#M142885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T05:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1243757#M142886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;   Watch points stops/ notifies you where the value of the variable is getting changed/updating. For Example if u have put a watch point at IT_MARA then when the internal table IT_MARA is getting updated/ changed it stops/Notify you at that place....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 05:48:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1243757#M142886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T05:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1243758#M142887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Suppose u dont where u want to put break point.&lt;/P&gt;&lt;P&gt;or suppose in ur ouput value appear is 10 but actualy u want 3. so u have to put watch pt on that variable.&lt;/P&gt;&lt;P&gt;use equal to 10.&lt;/P&gt;&lt;P&gt;Then program will set breakpoint automatically at that point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can view what is problem in coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short want to see the behavour of variable SY-subrc or any variable u can use Watchpoint equal or not equal to anything.&lt;/P&gt;&lt;P&gt;U have achieve ur goal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just have look into following link&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;P&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;A href="http://help.sap.com/saphelp_40b/helpdata/en/34/594231e86b4b96e00008000992f317/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_40b/helpdata/en/34/594231e86b4b96e00008000992f317/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this should solve ur doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 05:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1243758#M142887</guid>
      <dc:creator>vinod_gunaware2</dc:creator>
      <dc:date>2006-03-09T05:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1243759#M142888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A watchpoint can be used in the code to preset the debugger to stop at a certain value of a variable in the program. This is particularly useful if you want to trace a particular value of a variable inside an internal table of, say, 100 lines. Just create a watch point on that field, and  set the watch point value to the number you want to see, for eg, Itab-ebelp = 80. The debugger will take you automatically to that line, instead of you having to execute each loop pass till you reach that value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 05:49:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1243759#M142888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T05:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1243760#M142889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoints and watch points enable you to view how the data flows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can create our own watch points with some condition which means internally it act as a breakpoint and once that condition is reached ,it will stop there in debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 05:51:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1243760#M142889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T05:51:46Z</dc:date>
    </item>
  </channel>
</rss>

