<?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: break points in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180093#M757110</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;breakpints are of 2 types&lt;/P&gt;&lt;P&gt;1.static: &lt;/P&gt;&lt;P&gt;   hard code of statement BREAK-PIOINT in your program and then execute program.( the program will go to debuging everytime you execute the program.)&lt;/P&gt;&lt;P&gt;2.Dynamic:&lt;/P&gt;&lt;P&gt;   a. in SE38, after entring the program name in the command field type /h an press enter. then click on execute&lt;/P&gt;&lt;P&gt;   b. place the cursor at a line in program and press Ctrl&lt;EM&gt;Shift&lt;/EM&gt;F12 or click on break point button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;External Breakpoints:    &lt;/P&gt;&lt;P&gt;   Dynamic break-points are external break-points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Session Breakpoints:&lt;/P&gt;&lt;P&gt;   you can put break-points even while debugging. just double clik on statement.( if you double click again that break-point will be deleted) &lt;/P&gt;&lt;P&gt;Ex.While debugging,If you want to come out directly from a loop, just place your cursor on ENDLOOP statement and double click there.and then press F8. now you will be out from the loop.&lt;/P&gt;&lt;P&gt; After execution of your program you can find external breakpoints but not Session breakpoints.&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;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Dec 2007 06:30:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-28T06:30:50Z</dc:date>
    <item>
      <title>break points</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180084#M757101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,I am new to SAP. I seek steps to create a break points ,Advantages of break points and difference between session and external break points?????Can u just help me out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;G.Srinivasan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 05:58:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180084#M757101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T05:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: break points</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180085#M757102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/c6/617cbee68c11d2b2ab080009b43351/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/c6/617cbee68c11d2b2ab080009b43351/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hi break points are the facility provided by SAP to stop ur code at a particular point as u want.. by creating a break point... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;creating a break point : put ur cursor on the line where u need the break points and hit the stop buttton on the top toolbar.. ue line ill be highlighted with yellow color... &lt;/P&gt;&lt;P&gt;to remove it hit the stop agian.. u will remove the breakpoint..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;advantages: think that u wrote a code a+b = c and u gave inputs 3 + 2 = 5 and ur output to the program gives 6... what will you do .. u cant sit a cry right.. so u put a break point there and find out why its giving 6 is it mulituplying of adding.. so that is the use of breakpoint..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;session and external breakpoints are available from ECC, which are also similar to break points with additional functionality.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;award points on the right if u feel helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: jackandjay on Dec 28, 2007 1:01 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 06:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180085#M757102</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2007-12-28T06:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: break points</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180086#M757103</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;/P&gt;&lt;P&gt; check this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 06:01:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180086#M757103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T06:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: break points</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180087#M757104</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 { [ID group] &lt;/P&gt;&lt;P&gt;            | {[log_text] [AT NEXT APPLICATION STATEMENT]} }. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement defines an unconditional checkpoint (breakpoint). If the program reaches an active breakpoint during dialog processing, program execution is interrupted and the system switches to the ABAP Debugger. An inactive breakpoint will be ignored and program execution will continue with the statement following BREAK-POINT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without the ID addition, the breakpoint is always active. If the IDaddition is used, activation from outside the program will be controlled by a checkpoint group. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During background processing and during updating, program execution will not be interrupted. If the ID addition is specified, a breakpoint will always be inactive during breakpoint processing and during the updating process. If a breakpoint is always active, that is, the ID addition is not specified, the entry "Breakpoint reached" is written to the system log during background processing and during the udpate task. After the entry, the program name and the point where the breakpoint took place in the program are also recorded. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1 &lt;/P&gt;&lt;P&gt;... ID group &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The ID addition assigns the breakpoint to a checkpoint group group. The same rules apply to the checkpoint group and the activation settings as to the ASSERT statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2 &lt;/P&gt;&lt;P&gt;... log_text &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;In log_text, a supplementary text for the system log can be specified. During dialog processing, the specification of log_text has no effect. During background processing and during the update task, the content of log_text in the system log is inserted between the words "Breakpoint" and "reached". For log_text, a flat, character-type data object with a length of 40 characters is expected. The specification of a data object of the type string is ignored. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 3 &lt;/P&gt;&lt;P&gt;... AT NEXT APPLICATION STATEMENT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;This addition is for internal use only. &lt;/P&gt;&lt;P&gt;It cannot be used in application programs &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;Effect &lt;/P&gt;&lt;P&gt;This statement is only useful in system programs, system modules, system subroutines, and system function modules whose name begins with %_ . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If system debugging is not switched on, the system will stop only at the next statement that is not in a system module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If system debugging is switched on, the system will stop at the BREAK-POINT statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If system debugging is not switched on and the AT NEXT APPLICATION STATEMENT addition is not used, BREAK-POINT statements are ignored in system modules. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plzz reward points if it helps.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 06:01:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180087#M757104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T06:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: break points</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180088#M757105</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;Session Breakpoints exist only until you are logged in or until ur session is active. Even if u forget to remove the session break points, they are automatically removed once ur session becomes invalid or u logged out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugger &lt;/P&gt;&lt;P&gt;This section of the ABAP Workbench documentation provides information on how to use the Debugger as a test tool for finding errors in the source code of an ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functional Overview &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ABAP Debugger is an integrated test tool within the ABAP Workbench. You use it to check the program logic and to find errors in the source code of an ABAP program. In the Debugger, you can step through the source code of a program. The running program is interrupted after each step, allowing you to check its processing logic and the results of individual statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of Release 6.10, you can also run Business Server Pages (BSP) in the debugging mode. You can also display and set breakpoints here. Business Server Pages can be displayed in the Object Navigator when you select an appropriate application under BSP Application. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Features&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Debugger provides an efficient means of identifying errors in ABAP programs. It contains the following functions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ways of starting the Debugger&lt;/P&gt;&lt;P&gt;Choosing different views &lt;/P&gt;&lt;P&gt;Choosing different execution options in the Debugger &lt;/P&gt;&lt;P&gt;Displaying source code in the Debugger&lt;/P&gt;&lt;P&gt;&amp;#149; Setting and deleting breakpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; Setting and deleting watchpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; Stopping a program at a particular statement or event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Displaying and changing field contents at runtime &lt;/P&gt;&lt;P&gt;Displaying ABAP Objects and references &lt;/P&gt;&lt;P&gt;Displaying and positioning strings &lt;/P&gt;&lt;P&gt;Setting and deleting database locks &lt;/P&gt;&lt;P&gt;Opening the ABAP Editor, or Object Navigator &lt;/P&gt;&lt;P&gt;System settings and runtime warnings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting the Debugger &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two possible strategies for starting the Debugger in the ABAP Workbench:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By setting breakpoints then running the program &lt;/P&gt;&lt;P&gt;By running the program in debugging mode.&lt;/P&gt;&lt;P&gt;Setting Breakpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A breakpoint is a signal in a specific line of the program source code. This signal indicates to the ABAP runtime processor to stop the program at the relevant line and start the ABAP Debugger. A distinction is made between static and dynamic breakpoints. For further information about the different types of breakpoints and how to use them, refer to Breakpoints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct Processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can start the Debugger without previously having set breakpoints. This is the best procedure to use when you want to test a program right from the beginning. It is also a useful procedure if you are not overly familiar with the program and therefore are not sure where best to set breakpoints. You can start the Debugger as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the Object Navigator&lt;/P&gt;&lt;P&gt;Select a report or transaction and choose Program ® Test ® Debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the ABAP Editor&lt;/P&gt;&lt;P&gt;Choose Program ® Execute ® Debugging (or the Debugging pushbutton).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From any screen&lt;/P&gt;&lt;P&gt;Choose System ® Utilities ® Debug ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From any screen&lt;/P&gt;&lt;P&gt;Enter /h in the command field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display Modes in the Debugger &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are debugging a program, there are various display modes that you can use. All of the display modes have the same structure. The top part of the screen displays an extract of the program source code. The bottom part displays the information specifically available in that display mode. There are also pushbuttons on the screen allowing you to switch to the most frequently-used display modes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display Modes Available Using Pushbuttons&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fields&lt;/P&gt;&lt;P&gt;The scrollable field display contains the contents of up to eight fields. The contents of the three most important system fields are always displayed. This is the default display mode in the Debugger. See also Processing Fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table&lt;/P&gt;&lt;P&gt;Displays the contents of an internal table. This mode allows you to display and edit the entries in an internal table. See also Processing Internal Tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoints&lt;/P&gt;&lt;P&gt;A scrollable display containing up to 30 breakpoints. Next to each breakpoint is a counter. You can also delete breakpoints in this display. See also Managing Dynamic Breakpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Watchpoints&lt;/P&gt;&lt;P&gt;You can set a watchpoint for a field so that the program is interrupted whenever the value of that field changes. This display mode contains a list of watchpoints, the fields and programs to which they are assigned, the current values of the fields, and the conditions upon which the watchpoint is activated. See also Setting Watchpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calls&lt;/P&gt;&lt;P&gt;This mode displays the current sequence of events, and the sequence of calls up to the current breakpoint. The last active call is displayed at the top of the list; previous calls are listed in reverse chronological order. When an event (for example, START-OF-SELECTION) concludes, it is deleted from the display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Overview&lt;/P&gt;&lt;P&gt;This mode displays the structure of the program. It lists its events, subroutines, and modules, and shows which sections belong to which events. It also displays the section currently being processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Settings&lt;/P&gt;&lt;P&gt;This mode displays the current Debugger settings. You can change the settings by selecting or deselecting various options. For further information, refer to Settings and Warnings &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other Display Modes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can access other display modes by choosing Goto ® Display data object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Single field&lt;/P&gt;&lt;P&gt;Displays the contents and technical attributes of a field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structured&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field&lt;/P&gt;&lt;P&gt;Displays the components of a structure, along with their contents and attributes. If you double-click a component, the system displays detailed information for it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strings&lt;/P&gt;&lt;P&gt;Display the content and current length of the string. You can also display part of the content by means of offset and length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal table&lt;/P&gt;&lt;P&gt;Displays the type, line numbers and contents of an internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Object&lt;/P&gt;&lt;P&gt;Displays the structure of an ABAP Object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For further information on these displays, refer to Displaying Attributes and Displaying ABAP Objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Checking System Programs for Errors&lt;/P&gt;&lt;P&gt;To check a program or program component that is part of the ABAP Workbench (for example, the Screen Painter), you must use the system Debugger. To start the system Debugger, choose System ® Utilities ® Debug System from any screen. To stop the system Debugger, choose Debugger ® Debugging off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Displaying Program Attributes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can display the attributes Fixed Point Arithmetic, System Program, and Unicode Checks of the program that has just been executed by choosing Goto ® Further Information ® Program Attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restarting the Debugger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you choose Debugging ® Restart, debugging mode is stopped and the system takes you to the initial screen of the last transaction you called. If, for example, you started an ABAP program in debugging mode from transaction SE38 (ABAP Editor), choosing Debugging ® Restart will take you back to the screen titled ABAP Editor: Initial Screen. If you want to restart the program in debugging mode, choose Debugging. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoints &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from direct execution of an ABAP program in the Debugger, it is also possible to start the Debugger call by the exact setting of a breakpoint. 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 program runs normally until the breakpoint is reached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also 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. For further information, refer to Watchpoints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoint Variants&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Debugger contains different breakpoint variants:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Static&lt;/P&gt;&lt;P&gt;The BREAK-POINT statement in an ABAP program. Static breakpoints are not normally user-specific. However, you can make them user-specific.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directly-set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynamic breakpoints&lt;/P&gt;&lt;P&gt;Can be set in the ABAP Editor or the Debugger. Dynamic breakpoints are always user-specific, and are deleted when you log off from the R/3 System.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at statement&lt;/P&gt;&lt;P&gt;The Debugger stops the program directly before the specified statement is executed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at subroutine&lt;/P&gt;&lt;P&gt;The Debugger stops the program directly before the specified subroutine is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoint at function module&lt;/P&gt;&lt;P&gt;The Debugger stops the program directly before the specified function module is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoint at method&lt;/P&gt;&lt;P&gt;The Debugger stops the program directly before the specified method is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoints at system exceptions&lt;/P&gt;&lt;P&gt;The Debugger stops the program directly after a system exception, that is, after a runtime error has been intercepted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Static Breakpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dynamic Breakpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dynamic breakpoints are more flexible than static breakpoints, because you can deactivate or delete them at runtime. They have the following advantages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You do not have to change the program code &lt;/P&gt;&lt;P&gt;You can set them even when the program is locked by another programmer &lt;/P&gt;&lt;P&gt;You can define a counter that only activates the breakpoint after it has been reached&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lifetime and Transfer of Breakpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A static breakpoint remains intact as long as the BREAK-POINT or BREAK-POINT name statement is not removed from the source code. Without saving, dynamic breakpoints only remain intact in the relevant internal session. However, they are effective during the entire user session, if they are saved by choosing Breakpoints ® Save in the ABAP Debugger. For more details on the subject of sessions and user sessions, refer to Modularization Techniques in the ABAP keyword documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you call an HTTP session during a user session, only the HTTP breakpoints are loaded when the HTTP session is started. You activate HTTP debugging in the ABAP Editor by choosing Utilities ® Settings ® HTTP Debugging. Depending on the setting, the system then displays either the HTTP or standard breakpoints in the Editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you call an update session during a user session, breakpoints that were defined beforehand in the calling processing unit are copied to the new update session, where they can be displayed under Breakpoints. If, in the ABAP Debugger, you check Update Debugging under Settings and then, for example, call the update module func using CALL FUNCTION func IN UPDATE TASK, a new window is opened in which you can debug this function module in the update session. All the breakpoints that were set in the calling processing unit can also be processed here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoints at Statements &lt;/P&gt;&lt;P&gt;You can use this special kind of dynamic breakpoint to interrupt a program directly before an ABAP statement is processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisites&lt;/P&gt;&lt;P&gt;You must already be running the program in the Debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;To set a breakpoint at an ABAP statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Choose Breakpoint ® Breakpoint at ® Statement... &lt;/P&gt;&lt;P&gt;The following dialog box appears:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Enter the ABAP statement.&lt;/P&gt;&lt;P&gt;The system sets a breakpoint at all points in the program at which the ABAP statement occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.Choose ENTER.&lt;/P&gt;&lt;P&gt;The breakpoint applies to all lines containing the specified statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;The system confirms the breakpoint and adds it to the list in the display. When you finish your debugging session, the breakpoint is automatically deleted unless you have explicitly saved it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoints at Subroutines &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this special kind of dynamic breakpoint to interrupt a program directly before a subroutine is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisites&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must already be running the program in the Debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To set a breakpoint for a subroutine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose Breakpoint ® Breakpoint at ® Event/Subroutine.&lt;/P&gt;&lt;P&gt;The following dialog box then appears:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the name of the subroutine before which you want to interrupt the program. By default, the Program field contains the name of the program that is currently active. The system sets a breakpoint wherever the specified subroutine occurs in the program code. &lt;/P&gt;&lt;P&gt;Choose ENTER.&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system confirms the breakpoint. The breakpoint is added to the breakpoints displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoints at Function Module &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this kind of dynamic breakpoint to interrupt a program directly before a function module is called. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisites&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must already be running the program in the Debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To set a breakpoint for a function module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose Breakpoint ® Breakpoint at ® Function module... &lt;/P&gt;&lt;P&gt;The following dialog box appears: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the name of the function module before which you want to interrupt the program. The system sets a breakpoint wherever the specified event, module pool, or subroutine occurs in the program code. &lt;/P&gt;&lt;P&gt;Choose ENTER. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you entered a valid function module name, the system confirms that the breakpoint has been set. If the function module exists in the system, the new breakpoint is added to the display list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoints at Methods &lt;/P&gt;&lt;P&gt;You can use this special kind of dynamic breakpoint to interrupt a program directly before a method is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisites&lt;/P&gt;&lt;P&gt;You must be already running the program in the debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;To set a breakpoint for methods:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Choose Breakpoint ® Breakpoint at ® Method...&lt;/P&gt;&lt;P&gt;The following dialog box then appears:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Enter the name of the method and class before which you want to interrupt the program. A breakpoint is then set each time the specified processing block appears in the source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Choose ENTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;The system confirms the breakpoint. The breakpoint is added to the list in the display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoints at System Exceptions &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this special form of dynamic breakpoint to interrupt a program immediately after a runtime error has occurred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisites&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must already be running the program in the Debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To set a breakpoint at a system exception:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose Breakpoint ® Breakpoint at ® System exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system confirms the breakpoint. The breakpoint is added to the breakpoints displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a system exception is triggered, a warning triangle appears in the line containing the statement that caused it. If you double-click the warning triangle, the internal name of the runtime error appears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Static Breakpoints &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should only use static breakpoints during the development phase of an application. You must remove them from your program before you transport it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting Breakpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To set a static breakpoint, use the ABAP statement BREAK-POINT . Place the breakpoint in the line at which you want to interrupt the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;program RSDEBUG_01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if SY-SUBRC 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you run the program, the runtime processor interrupts it when the breakpoints occur. You can number your breakpoints to make them easier to identify ( BREAK-POINT 1, BREAK-POINT 2 &amp;#133;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Static breakpoints are not normally user-specific. The program is, therefore, always interrupted as soon as the runtime processor reaches the line containing the breakpoint. The program is interrupted regardless of the user who executes it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you can set user-specific static breakpoints using the BREAK statement followed by your user name. For example, if you use the statement BREAK SMITH , the program is only interrupted when user Smith runs it. Although user-specific breakpoints appear in the program code, they are not active when other users run the program. You should, however, be careful if an application is being used by several users with the same name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deleting Breakpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since static breakpoints apply to all users, you must remove them from the program once you have finished testing it. In the ABAP Editor, you can find breakpoints quickly by choosing Utilities ® Global search. You can also use the Extended Program Check to find them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not remove static breakpoints from your program, they will be transported to your production system. This could cause serious problems in the production system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dynamic Breakpoints &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set up to 30 dynamic breakpoints without changing the program code. Dynamic breakpoints can be set either in the ABAP Editor or directly in the Debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting Dynamic Breakpoints in the ABAP Editor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set dynamic breakpoints in the ABAP Editor regardless of whether you are in display or change mode. You can also set breakpoints directly from within the Debugger at runtime. To set a dynamic breakpoint in the ABAP Editor:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Position the cursor on the line of the source code at which you want to set the breakpoint. &lt;/P&gt;&lt;P&gt;Choose Utilities ® Breakpoints ® Set or the Stop icon. The system confirms that the breakpoint has been set. &lt;/P&gt;&lt;P&gt;To display a list of all dynamic breakpoints in a program, choose Utilities ® Breakpoints ® Display. You can use this list to navigate to a particular breakpoint or to delete one or more breakpoints from the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting Dynamic Breakpoints in Debugging Mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To set a dynamic breakpoint in the Debugger:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Position the cursor on the line in which you want to set the breakpoint. &lt;/P&gt;&lt;P&gt;Select the line by double-clicking it or choosing Breakpoint ® Set/delete.&lt;/P&gt;&lt;P&gt;The system sets the breakpoint, and displays a small stop sign to the left of the relevant line. If the line already contained a breakpoint, it is deleted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you finish your debugging session, the breakpoint is automatically deleted unless you have explicitly saved it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saving Breakpoints &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to leave the Debugger temporarily, you can save your dynamic breakpoints so that they are still active when you return to the Debugger within the same terminal session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To save the breakpoints that you have set in the Debugger:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose Breakpoint ® Save. &lt;/P&gt;&lt;P&gt;The system saves all of the breakpoints that you have set in the current program. These breakpoints will remain active until you either explicitly delete them or log off from the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also delete breakpoints that you have saved:&lt;/P&gt;&lt;P&gt;By deleting individual breakpoints from the display and then saving again. In this case, only your selected breakpoints will be deleted.&lt;/P&gt;&lt;P&gt;By choosing Breakpoint ® Delete all. In this case, the system deletes all dynamic breakpoints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Managing Dynamic Breakpoints &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ABAP Debugger provides a convenient user interface for managing breakpoints. To open the breakpoint display, choose Breakpoints, or, from the menu, Goto ® Control debugging ® Breakpoints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Functions&lt;/P&gt;&lt;P&gt;This display mode contains the following functions for breakpoints:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoint Display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scrollable breakpoint display contains up to 30 dynamic breakpoints. For breakpoints that you set directly, the program name and line number at which the breakpoint occurs are displayed. For special breakpoint forms, the list displays the statements, events, subroutines, and module calls at which the relevant breakpoints are set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Counter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the breakpoint display, you can specify a counter. When you use a counter, the breakpoint is not activated until it has been reached a specified number of times. For example, if you enter 5 for the counter, the breakpoint is not activated until it is reached for the fifth time. After the breakpoint has been activated, it remains so, and the counter no longer appears in the breakpoint display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deleting Breakpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Position the cursor on the breakpoint that you want to delete, and either double-click the line or choose Breakpoint ® Set/delete. To delete all breakpoints, choose Breakpoint ® Delete all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activating and Deactivating Breakpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Position the cursor on the breakpoint that you want to activate or deactivate and choose Breakpoint ® Activate/deactivate.&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;Sailaja.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 06:05:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180088#M757105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T06:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: break points</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180089#M757106</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;for setting break-points.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Just go to se38 (to your program). After that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Utilities&lt;DEL&gt;&amp;gt;Break-points&lt;/DEL&gt;&amp;gt;now choose for setting or deleting break-points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: before following the above keep your cursor where you are going to set or delete break-point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Advantage of this break-points:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help you to understand the flow(the perticular place where you want to check for data in the debugging mode and for finding errors) of the program when the break-point is set and pressed 'F8'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 06:06:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180089#M757106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T06:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: break points</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180090#M757107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi srinivasan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoints &lt;/P&gt;&lt;P&gt;Apart from being able to execute an ABAP program in the Debugger, you can also start the Debugger call by the choosing a breakpoint. 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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also 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. For more information, refer to the chapter Watchpoints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoint Variants&lt;/P&gt;&lt;P&gt;The Debugger contains different breakpoint variants:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Static&lt;/P&gt;&lt;P&gt; A user-specific breakpoint is inserted in the source code as an ABAP statement using the keyword BREAK-POINT. A non user-specific breakpoint is set in the ABAP Editor using the BREAK user name statement.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Directly set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynamic breakpoints&lt;/P&gt;&lt;P&gt; Can be set in the ABAP Editor or the Debugger by double-clicking a line, for example. Dynamic breakpoints are always user-specific, and are deleted when you log off from the R/3 System.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Breakpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at statements&lt;/P&gt;&lt;P&gt; The Debugger stops the program immediately before the specified statement is executed. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Breakpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at subroutines&lt;/P&gt;&lt;P&gt; The Debugger stops the program immediately before the specified subroutine is called.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Breakpoints at function modules&lt;/P&gt;&lt;P&gt; The Debugger stops the program immediately before the specified function module is called.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Breakpoints at methods&lt;/P&gt;&lt;P&gt; The Debugger stops the program immediately before the specified method is called.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Breakpoints at exceptions and system exceptions&lt;/P&gt;&lt;P&gt; The Debugger stops the program immediately after a system exception, that is, after a runtime error has been intercepted.&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;Static Breakpoints&lt;/P&gt;&lt;P&gt;Static breakpoints are always user-independent if there is no specification of a user name. 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 program execution is always to be interrupted at the same place. For more information, refer to the chapter Static Breakpoints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dynamic Breakpoints&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dynamic breakpoints are more flexible than static breakpoints because you can deactivate or delete them at runtime. They have the following advantages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        You do not have to change the program code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        You can set them even when the program is locked by another programmer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        You can define a counter that only activates the breakpoint after it has been reached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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 more information, refer to the chapter Dynamic Breakpoints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lifetime and Transfer of Breakpoints&lt;/P&gt;&lt;P&gt;A static breakpoint remains intact as long as the BREAK-POINT or BREAK-POINT name statement is not removed from the source code. Without saving, dynamic breakpoints only remain intact in the relevant internal session. However, they remain in effect during the entire user session if they are saved by choosing the menu path Breakpoints ® Save in the ABAP Debugger. For more details on the subject of user sessions and modes, refer to Modularization Techniques in the ABAP keyword documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you call an HTTP session during a user session, only the HTTP breakpoints are loaded when the HTTP session is started. You activate HTTP debugging in the ABAP Editor by choosing Utilities ® Settings ® HTTP Debugging. Depending on the setting, the system then displays either the HTTP or standard breakpoints in the Editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you call an update session during a user session, breakpoints that were defined beforehand in the calling processing unit are copied to the new update session, where they can be displayed under Breakpoints. If, in the ABAP Debugger, you check Update Debugging  under Settings and then, for example, call the update module func using CALL FUNCTION func IN UPDATE TASK, a new window is opened in which you can debug this function module in the update session. All the breakpoints that were set in the calling processing unit can also be processed here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;bold&lt;/STRONG&gt;Breakpoint Types&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you set a breakpoint in the Debugger, it is created as a debugger breakpoint by default. A debugger breakpoint is only valid while the Debugger instance, in which it was set, is active. When the Debugger is closed, all debugger breakpoints set in it are deleted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you set a breakpoint in the ABAP Editor, for example, this breakpoint is a session breakpoint. Session breakpoints remain active independently of the existence of a Debugger and are valid for all external sessions of a logon. Within the Debugger, you can convert a debugger breakpoint into a session breakpoint and vice versa. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the setting Session Breakpoints Active Immediately is checked (via Utilities ® Settings ® ABAP Editor ® Debugging in the ABAP Editor or Object Navigator), you can set a session breakpoint in an external session of a logon to force a running program into the Debugger that runs in the same logon (for example, in an external session) and will process the point at which the session breakpoint was set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User breakpoints (previously known as external breakpoints) are valid for all user logons on the current server of the current system. User breakpoints are specifically required when debugging BSP or Web Dynpro applications. In these cases, you do not log on using the SAP GUI but via a browser, for example. Therefore, any breakpoints must be set before logging on. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User breakpoints are only valid for a period of 2 hours. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of Release 7.00, user breakpoints set for BSP or Web Dynpro applications are also valid for SAP GUI logons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the Debugger, you can convert debugger or session breakpoints into user breakpoints and vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sravanthi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 06:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180090#M757107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T06:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: break points</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180091#M757108</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;Regarding the break points u can check this material u will get the idea about the break points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help.sap.com/saphelp_nw70/helpdata/en/c6/617cbee68c11d2b2ab080009b43351/content.htm &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Break point is the signal which is specified in the program tells the system to stop the program execution and start the debugger . types of break piints availabe with abap are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Static: they are set up with the BREAKPOINT  keyword inside the program which u can directly display with the abap source code editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dynamic:  This brkpoint is not visible in the code . Position the cursor over the source code line to hav the break  point and select utilities-&amp;gt;break point-&amp;gt;set. U can delete them or display them frm break point list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Watch PointsL  are field specific . The Program is stopped when the field reaches the value specified in the watch point. Execute the program in debugging mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sana.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if found useful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 06:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180091#M757108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T06:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: break points</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180092#M757109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinu,&lt;/P&gt;&lt;P&gt;see there are two types of break points are there&lt;/P&gt;&lt;P&gt;1.static break point&lt;/P&gt;&lt;P&gt;2.dynamic break point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static break point: if you use to code as breakpoint from where you have to &lt;/P&gt;&lt;P&gt;debugg this is called static break point.(physical notaion of break point)&lt;/P&gt;&lt;P&gt;suppose if you create a break point and if any another user runs the same&lt;/P&gt;&lt;P&gt;program or transaction the break point will set and the performance become &lt;/P&gt;&lt;P&gt;down..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynamic break point: if you select the statement from where you have to debug &lt;/P&gt;&lt;P&gt;and select stop icon on the application tool bar this is known as dynamic &lt;/P&gt;&lt;P&gt;break point.This will set for 2 min and will remove automatically. and one&lt;/P&gt;&lt;P&gt;more thing is this is user specified.so if the same transactions or progarm &lt;/P&gt;&lt;P&gt;will run by other user this break point will not set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;swami&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 06:23:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180092#M757109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T06:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: break points</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180093#M757110</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;breakpints are of 2 types&lt;/P&gt;&lt;P&gt;1.static: &lt;/P&gt;&lt;P&gt;   hard code of statement BREAK-PIOINT in your program and then execute program.( the program will go to debuging everytime you execute the program.)&lt;/P&gt;&lt;P&gt;2.Dynamic:&lt;/P&gt;&lt;P&gt;   a. in SE38, after entring the program name in the command field type /h an press enter. then click on execute&lt;/P&gt;&lt;P&gt;   b. place the cursor at a line in program and press Ctrl&lt;EM&gt;Shift&lt;/EM&gt;F12 or click on break point button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;External Breakpoints:    &lt;/P&gt;&lt;P&gt;   Dynamic break-points are external break-points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Session Breakpoints:&lt;/P&gt;&lt;P&gt;   you can put break-points even while debugging. just double clik on statement.( if you double click again that break-point will be deleted) &lt;/P&gt;&lt;P&gt;Ex.While debugging,If you want to come out directly from a loop, just place your cursor on ENDLOOP statement and double click there.and then press F8. now you will be out from the loop.&lt;/P&gt;&lt;P&gt; After execution of your program you can find external breakpoints but not Session breakpoints.&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;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 06:30:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/break-points/m-p/3180093#M757110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T06:30:50Z</dc:date>
    </item>
  </channel>
</rss>

