<?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: Watch point? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/watch-point/m-p/3227964#M769972</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;For watchpoints, we need to give some condition and when this condition is satisfied, program will stop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jan 2008 06:19:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-29T06:19:34Z</dc:date>
    <item>
      <title>Watch point?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/watch-point/m-p/3227960#M769968</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;I know break-point but what is this watchpoint?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 10:27:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/watch-point/m-p/3227960#M769968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T10:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Watch point?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/watch-point/m-p/3227961#M769969</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;Watch point is attached to a variable and is only triggered when it holds a certain value.  For example you could set a watchpoint on SY-SUBRC being not equal to 0, and debug would stop when SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 10:35:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/watch-point/m-p/3227961#M769969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T10:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Watch point?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/watch-point/m-p/3227962#M769970</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;Watchpoints allow you the option of monitoring the content of individual variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Debugger stops as soon as the value of the monitored variable changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, conditions can be specified. The Debugger also checks whether such a condition is fulfilled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BREAKPOINT&lt;/P&gt;&lt;P&gt;In the source code we set the Break-point there by clicking the stop button, &lt;/P&gt;&lt;P&gt;the system will stop there when you execute the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WATCHPOINT&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;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope this is helpful, Do reward.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Runal Singh on Jan 15, 2008 4:16 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 10:40:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/watch-point/m-p/3227962#M769970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T10:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Watch point?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/watch-point/m-p/3227963#M769971</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;Break-point- stops the flow of program at defined&lt;/P&gt;&lt;P&gt;point for debug purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Watch-point-It is  used to set for particular value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g.: if you want to debug only &lt;/P&gt;&lt;P&gt;for matnr value 203 than set watch point&lt;/P&gt;&lt;P&gt;matnr = 203.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When value reaches 203 then&lt;/P&gt;&lt;P&gt;program stops at that point. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One suggestion if you can serach for your query into forum&lt;/P&gt;&lt;P&gt;you will find many answers regarding it instead of putting new thread. This will save your time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhura Nadgauda.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 10:54:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/watch-point/m-p/3227963#M769971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T10:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Watch point?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/watch-point/m-p/3227964#M769972</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;For watchpoints, we need to give some condition and when this condition is satisfied, program will stop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 06:19:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/watch-point/m-p/3227964#M769972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T06:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Watch point?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/watch-point/m-p/3227965#M769973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Watchpoints &lt;/P&gt;&lt;P&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. 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;Use&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Features&lt;/P&gt;&lt;P&gt;&amp;#149;	You can set up to five watchpoints in a program. &lt;/P&gt;&lt;P&gt;&amp;#149;	You can also specify the conditions on which a watchpoint is to become active. &lt;/P&gt;&lt;P&gt;&amp;#149;	You can specify logical conditions between up to five conditional watchpoints. &lt;/P&gt;&lt;P&gt;&amp;#149;	You can define watchpoints as either local or global. If you define a global watchpoint, it is active in all called programs. Local watchpoints are only active in the specified program. &lt;/P&gt;&lt;P&gt;&amp;#149;	You can change and delete watchpoints.&lt;/P&gt;&lt;P&gt;&amp;#149;	&lt;/P&gt;&lt;P&gt;Setting Watchpoints &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;A watchpoint can be either local or global. Local watchpoints are only valid in the specified program. Global watchpoints are valid in the specified program, and also in all the other programs it calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;To set a watchpoint, start the Debugger and proceed as follows:&lt;/P&gt;&lt;P&gt;1.	Choose Breakpoint &amp;amp;#61614; Create watchpoint or the corresponding pushbutton. The Create Watchpoint dialog box appears. &lt;/P&gt;&lt;P&gt;2.	Decide whether you want to set a local or global watchpoint. &lt;/P&gt;&lt;P&gt;3.	Enter the program and the name of the field for which you want to set the watchpoint. In the Program field, the name of the program currently running is always defaulted. &lt;/P&gt;&lt;P&gt;4.	If you want your watchpoint to be activated each time the contents of the field change, the definition is now complete, and you can return to the Debugger by pressing ENTER . &lt;/P&gt;&lt;P&gt;5.	To create a conditional watchpoint, that is only activated when a particular situation arises, choose one of the following relational operators. &lt;/P&gt;&lt;P&gt;Operator	Meaning&lt;/P&gt;&lt;P&gt;&amp;lt;	Less than&lt;/P&gt;&lt;P&gt;&amp;lt;=	Less than or equal&lt;/P&gt;&lt;P&gt;=	Equal&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;gt;	Not equal&lt;/P&gt;&lt;P&gt;&amp;gt;= 	Greater than or equal&lt;/P&gt;&lt;P&gt;&amp;gt; 	Greater than&lt;/P&gt;&lt;P&gt;6.	 &lt;/P&gt;&lt;P&gt;7.	You can use the Comparison field option to specify whether the comparison is to be carried out with a value that you specify or with the contents of another field. Depending on your choice from step 6, enter a value or a field for the comparison.&lt;/P&gt;&lt;P&gt; Result&lt;/P&gt;&lt;P&gt;The system confirms the watchpoint and adds it to the list in the display. When you finish your debugging session, the watchpoint is automatically deleted unless you have explicitly saved it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specifying Logical Links &lt;/P&gt;&lt;P&gt;If you have more than one conditional watchpoint, you can specify a logical link between them:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR	Only one of the specified conditions must be met&lt;/P&gt;&lt;P&gt;AND	All of the conditions must be met.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;To create a logical link between watchpoints:&lt;/P&gt;&lt;P&gt;1.	Choose Goto &amp;amp;#61614; Control debugging &amp;amp;#61614; Watchpoints or the Watchpoints pushbutton to open the watchpoint display. &lt;/P&gt;&lt;P&gt;2.	Set the Logical operator between watchpoints option. &lt;/P&gt;&lt;P&gt;The default value is always OR .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Changing Watchpoints &lt;/P&gt;&lt;P&gt;1.	Choose Goto &amp;amp;#61614; Control debugging &amp;amp;#61614; Watchpoints or the Watchpoints pushbutton to display the watchpoint list. &lt;/P&gt;&lt;P&gt;2.	Choose the pencil icon in the line containing the watchpoint you want to change. &lt;/P&gt;&lt;P&gt;3.	Change the watchpoint attributes in the Create/Change Watchpoint.&lt;/P&gt;&lt;P&gt;3.	Choose ENTER .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Deleting Watchpoints&lt;/P&gt;&lt;P&gt;You cannot delete watchpoints by choosing Breakpoint &amp;amp;#61614; Delete or Breakpoint &amp;amp;#61614; Deactivate/activate. Instead, proceed as follows:&lt;/P&gt;&lt;P&gt;1.	Choose Goto &amp;amp;#61614; Control debugging &amp;amp;#61614; Watchpoints or the Watchpoints pushbutton to display the watchpoint list. &lt;/P&gt;&lt;P&gt;2.	Choose the trashcan icon in the line containing the watchpoint you want to delete.&lt;/P&gt;&lt;P&gt;3.	&lt;/P&gt;&lt;P&gt; Memory Monitoring with Watchpoints &lt;/P&gt;&lt;P&gt;You can use watchpoints to display changes to the references of strings, data and object references, and internal tables. By placing an ampersand (&amp;amp;) in front of the object name, you can display the reference in question in hexadecimal format. With internal tables, you can also display the table header by placing an asterisk (*) at the beginning of the name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;objectname	Displays the references of strings, internal tables as well as data and object references&lt;/P&gt;&lt;P&gt;*itab	Displays the table header of the internal table itab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Analyzing Source Code &lt;/P&gt;&lt;P&gt;The Debugger contains an extensive range of functions that help you to analyze the source code of a program. You can step through the source code of a program in four different ways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Displaying the Source Code &lt;/P&gt;&lt;P&gt;All of the display modes in the Debugger have the same structure. The top half of the screen displays an extract from the program source code as it appears in the ABAP Editor. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Features&lt;/P&gt;&lt;P&gt;The Source code of field contains an extract from the program, subroutine, or function module currently being processed. The source code display also contains the following additional functions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expand/Reduce Program Segment&lt;/P&gt;&lt;P&gt; Use this button to close the information about the current display mode. The system then displays more of the source code.&lt;/P&gt;&lt;P&gt;   Use this button to reopen the information for the current display mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 09:32:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/watch-point/m-p/3227965#M769973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T09:32:26Z</dc:date>
    </item>
  </channel>
</rss>

