<?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: difference between watch point and break point in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-watch-point-and-break-point/m-p/3914860#M938448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A breakpoint is set to occur at a specific line of a program, and will always stop the code from processing at that point (and invoke the debugger). A watchpoint will cause the execution to stop when a specified variable reaches a pre-set value (ie. SY-SUBRC &amp;lt;&amp;gt; 0). The code execution will then stop regardless of where the watchpoint has occurred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Watchpoints are nice to set when you want to figure out what causes a certain value to be set, without knowing exactly where it happens in your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jun 2008 09:00:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-02T09:00:31Z</dc:date>
    <item>
      <title>difference between watch point and break point</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-watch-point-and-break-point/m-p/3914857#M938445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi to all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; can you explain the difference between break point and watch point.&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 08:55:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-watch-point-and-break-point/m-p/3914857#M938445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T08:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: difference between watch point and break point</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-watch-point-and-break-point/m-p/3914858#M938446</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;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.Max 30 breakpoints we can use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is 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 ie...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.You can use max of 5 watchpoints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Difference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Break Point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At particular LINE of SOURCE CODE,&lt;/P&gt;&lt;P&gt;the system will STOP there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Watch Point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to interrupt a program when the contents of a field or structure change, use a watchpoint. You can set up to five watchpoints, including watchpoints for strings. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(For this, we have to give some&lt;/P&gt;&lt;P&gt;VARIABLE NAME &amp;amp; VARIABLE VALUE - with relational operator)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When this CONDITION gets satisfied,&lt;/P&gt;&lt;P&gt;(anywhere during the execution of the program),&lt;/P&gt;&lt;P&gt;the system will AUTOMATICALLY STOP THERE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(EG when the value of matnr reaches the specified value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is the purpose of WATCHPOINT&lt;/P&gt;&lt;P&gt;(the system will WATCH it, like a dog)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go through this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="201335"&gt;&lt;/A&gt;&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;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Yogesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 08:58:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-watch-point-and-break-point/m-p/3914858#M938446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T08:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: difference between watch point and break point</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-watch-point-and-break-point/m-p/3914859#M938447</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;&lt;STRONG&gt;Breakpoints&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Breakpoints area, you will see a list of all the breakpoints set so far. If one of the breakpoints has just been reached, this is marked with a yellow arrow. The visibility (Debugger, session, user) and type (line, ABAP command, u2026) is displayed for each breakpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you double click the Navigation() column, the system will display the breakpoint in the respective source code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The visibility of a breakpoint can be changed through the dropdown list. To change the visibility of several breakpoints, mark them and select the pushbutton Save as Session Breakpoint or Save as User Breakpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change the visibility of all Debugger breakpoints using the menu path Breakpoints-&amp;gt; Save Debugger BPs as -&amp;gt; ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, you have functions for creating, changing, activating and deactivating breakpoints at your disposal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Watchpoints&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;in the Watchpoints area, you will see a list of all the watchpoints set so far. The watchpoint last set is highlighted with a yellow arrow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each watchpoint you will see not only the current value but the value before the last changed. (Technically speaking, each time you create the watchpoint and each time the watchpoint variable is changed, a clone of this variable is created.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way, you can always determine what changes have been made to the monitored variable. For complicated data structures, such as internal tables or structures, select the pushbutton u201ECompare Variablesu201C( ) and choose the Diff tool to compare the old and new variable values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;Checkpoints&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, you can edit conditional and unconditional checkpoints using the Breakpoints tool. This function is provided in the new Debugger only. Conditional checkpoints are set first in the source code using the ASSERTstatement; unconditional checkpoints are set using the BREAK-POINT statement. These have the effect that programs will be continued only if a preset condition is fulfilled. In the following window, these checkpoints can be searched for, activated, or deactivated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, you have functions for creating, changing, activating and deactivating watchpoints at your disposal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward If helpfull,&lt;/P&gt;&lt;P&gt; Naresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 08:59:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-watch-point-and-break-point/m-p/3914859#M938447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T08:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: difference between watch point and break point</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-watch-point-and-break-point/m-p/3914860#M938448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A breakpoint is set to occur at a specific line of a program, and will always stop the code from processing at that point (and invoke the debugger). A watchpoint will cause the execution to stop when a specified variable reaches a pre-set value (ie. SY-SUBRC &amp;lt;&amp;gt; 0). The code execution will then stop regardless of where the watchpoint has occurred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Watchpoints are nice to set when you want to figure out what causes a certain value to be set, without knowing exactly where it happens in your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 09:00:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-watch-point-and-break-point/m-p/3914860#M938448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T09:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: difference between watch point and break point</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-watch-point-and-break-point/m-p/3914861#M938449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Break Point means when you want to stop the control to the desired statement. then you go for the break point .&lt;/P&gt;&lt;P&gt;Example: IF you have 10 lines of code and if you put a break point at line number 80. then if the control comes to the line number 80. then the debugger will stop automatically othewise it will flow further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Watch point: when you want to see if any variable value is chagned to some other value and in that case you should go for the watch point..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: if you variable "FLAG" is value '0' initaily.. now if you want to see the when this flag gets changed to value '1'. Then in that case you should go for the watch point...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 09:01:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-watch-point-and-break-point/m-p/3914861#M938449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T09:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: difference between watch point and break point</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-watch-point-and-break-point/m-p/3914862#M938450</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;[help.sap.com/saphelp_nw70/helpdata/en/e2/5f5a42ed221253e10000000a155106/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;lakshman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 09:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-watch-point-and-break-point/m-p/3914862#M938450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T09:01:31Z</dc:date>
    </item>
  </channel>
</rss>

