<?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 debugging in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502274#M565481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please guide me about how to do debugging (step by step procedure) in ABAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jul 2007 12:07:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-16T12:07:32Z</dc:date>
    <item>
      <title>debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502274#M565481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please guide me about how to do debugging (step by step procedure) in ABAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 12:07:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502274#M565481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T12:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502275#M565482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.u can set breakpoint in ur code placing the cusrsor on the code and control&lt;EM&gt;shift&lt;/EM&gt;F12.&lt;/P&gt;&lt;P&gt;2.include BREAK-POINT code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;execute the program then it will come to this place and u can see the value of variable in fields and Internal tables in Tables option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can give F5 which is for step by step process..&lt;/P&gt;&lt;P&gt;F6 for module wiseprocess.If u give F6 in one perform statement it will not go into the perform and will process next line.&lt;/P&gt;&lt;P&gt;F7 is for Module wise.&lt;/P&gt;&lt;P&gt;F8 for execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the screen if u give /H it will activate debugging and u can go step by step.&lt;/P&gt;&lt;P&gt;Hope this will give u some idea...if helpfull reward points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 12:11:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502275#M565482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T12:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502276#M565483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI READ THIS &lt;/P&gt;&lt;P&gt;REWARD IF USEFUL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP Debugger&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;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;Features&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;&amp;#149;    Ways of starting the Debugger&lt;/P&gt;&lt;P&gt;&amp;#149;	Choosing different views &lt;/P&gt;&lt;P&gt;&amp;#149;	Choosing different execution options in the Debugger &lt;/P&gt;&lt;P&gt;&amp;#149;	Displaying source code in the Debugger&lt;/P&gt;&lt;P&gt;&amp;#149; Setting and deleting breakpoints&lt;/P&gt;&lt;P&gt;&amp;#149; Setting and deleting watchpoints&lt;/P&gt;&lt;P&gt;&amp;#149; Stopping a program at a particular statement or event&lt;/P&gt;&lt;P&gt;&amp;#149;	Displaying and changing field contents at runtime &lt;/P&gt;&lt;P&gt;&amp;#149;	Displaying ABAP Objects and references &lt;/P&gt;&lt;P&gt;&amp;#149;	Displaying and positioning strings &lt;/P&gt;&lt;P&gt;&amp;#149;	Setting and deleting database locks &lt;/P&gt;&lt;P&gt;&amp;#149;	Opening the ABAP Editor, or Object Navigator &lt;/P&gt;&lt;P&gt;&amp;#149;	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;There are two possible strategies for starting the Debugger in the ABAP Workbench:&lt;/P&gt;&lt;P&gt;&amp;#149;	By setting breakpoints then running the program &lt;/P&gt;&lt;P&gt;&amp;#149;	By running the program in debugging mode.&lt;/P&gt;&lt;P&gt;Setting Breakpoints&lt;/P&gt;&lt;P&gt;A breakpoint is a signal in a line of code that tells the ABAP runtime processor to interrupt the program at that line and start the ABAP Debugger. 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;Running a Program in Debugging Mode&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 useful if you do not know the program very well and therefore are not sure where best to set breakpoints. You can start the Debugger as follows:&lt;/P&gt;&lt;P&gt;From the Object Navigator	Select a report or transaction and program and choose Program &amp;amp;#61614;&amp;amp;#61472;Test &amp;amp;#61614;&amp;amp;#61472;Debugging.&lt;/P&gt;&lt;P&gt;From the ABAP Editor	Choose Program &amp;amp;#61614; Execute &amp;amp;#61614; Debugging (or the Debugging pushbutton).&lt;/P&gt;&lt;P&gt;From any screen	Choose System &amp;amp;#61614; Utilities &amp;amp;#61614; Debug ABAP.&lt;/P&gt;&lt;P&gt;From any screen	Enter " /h " in the command field.&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 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System &amp;amp;#61614; Utilities &amp;amp;#61614; Debug system from any screen. To stop the system Debugger, choose Debugger &amp;amp;#61614; Debugging off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Displaying Program Attributes&lt;/P&gt;&lt;P&gt;You can display the attributes Fixed point arithmetic, System program and Unicode checks active of the program that has just been executed by choosing Goto &amp;amp;#61614; Further Information &amp;amp;#61614; Program Attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display Modes in the Debugger &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;Fields	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;Table	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;Breakpoints	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;Watchpoints	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;Calls	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;Overview	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;Settings	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;&lt;/P&gt;&lt;P&gt; Other Display Modes&lt;/P&gt;&lt;P&gt;You can access other display modes by choosing Goto &amp;amp;#61614; Display data object.&lt;/P&gt;&lt;P&gt;Single field	Displays the contents and technical attributes of a field. &lt;/P&gt;&lt;P&gt;Structured&lt;/P&gt;&lt;P&gt;field	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;Strings	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;Internal table	Displays the type, line numbers and contents of an internal table. &lt;/P&gt;&lt;P&gt;Object	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; &lt;/P&gt;&lt;P&gt;Breakpoints &lt;/P&gt;&lt;P&gt;Instead of starting an ABAP program directly in the Debugger, you can also debug a program by creating one or more 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;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;Breakpoint Variants&lt;/P&gt;&lt;P&gt;The Debugger contains different breakpoint variants:&lt;/P&gt;&lt;P&gt;Static	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;Directly-set&lt;/P&gt;&lt;P&gt;dynamic breakpoints	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;Breakpoint&lt;/P&gt;&lt;P&gt;at statement	The Debugger stops the program directly before the specified statement is executed. &lt;/P&gt;&lt;P&gt;Breakpoint&lt;/P&gt;&lt;P&gt;at subroutine	The Debugger stops the program directly before the specified subroutine is called.&lt;/P&gt;&lt;P&gt;Breakpoint at function module	The Debugger stops the program directly before the specified function module is called.&lt;/P&gt;&lt;P&gt;Breakpoint at method	The Debugger stops the program directly before the specified method is called.&lt;/P&gt;&lt;P&gt;Breakpoints at system exceptions	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;Use&lt;/P&gt;&lt;P&gt;Static Breakpoints&lt;/P&gt;&lt;P&gt;Static breakpoints are not normally user-specific. Once a user has inserted a BREAK-POINT statement in an ABAP program, the system always interrupts the program at that point. You should only use static breakpoints during the development phase of an application. You should set static breakpoints whenever more than one programmer is working on the same program and you always want to stop the program in the same place. &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. You should, therefore, use them when you only want the program to be interrupted when you run it yourself. All dynamic breakpoints are deleted when you log off from the R/3 System.&lt;/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;&amp;#149;	You do not have to change the program code&lt;/P&gt;&lt;P&gt;&amp;#149;	You can set them even when the program is locked by another programmer&lt;/P&gt;&lt;P&gt;&amp;#149;	You can define a counter (for example, only activate the breakpoint after it has been reached five times). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Special Dynamic Breakpoints&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 program code. Event here is used to refer to the occurrence of a particular statement, for &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example, or calling up a method. Special dynamic breakpoints are user-specific. You can only set them in the Debugger.&lt;/P&gt;&lt;P&gt;Transferring Breakpoints to HTTP and Update Sessions&lt;/P&gt;&lt;P&gt;If an HTTP or update session is called from a Logical Unit of Work (LUW), new work processes are started for these new sessions. Breakpoints that were defined beforehand in the calling LUW are copied to these sessions where they can be displayed under breakpoints. &lt;/P&gt;&lt;P&gt;If, for example, the update module func is called via CALL FUNCTION func IN UPDATE TASK, the new work process is displayed in a second window if Update debugging was selected under Settings in the debugging mode. All the breakpoints that were set in the calling LUW can then be processed here.&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;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;Setting Breakpoints&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;program RSDEBUG_01.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;if SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;endif.&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;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;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;Deleting Breakpoints&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 &amp;amp;#61614; Global search. You can also use the Extended Program Check to find them.&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;&lt;/P&gt;&lt;P&gt;Dynamic Breakpoints &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;Setting Dynamic Breakpoints in the ABAP Editor&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;1.	Position the cursor on the line of the source code at which you want to set the breakpoint. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example, or calling up a method. Special dynamic breakpoints are user-specific. You can only set them in the Debugger.&lt;/P&gt;&lt;P&gt;Transferring Breakpoints to HTTP and Update Sessions&lt;/P&gt;&lt;P&gt;If an HTTP or update session is called from a Logical Unit of Work (LUW), new work processes are started for these new sessions. Breakpoints that were defined beforehand in the calling LUW are copied to these sessions where they can be displayed under breakpoints. &lt;/P&gt;&lt;P&gt;If, for example, the update module func is called via CALL FUNCTION func IN UPDATE TASK, the new work process is displayed in a second window if Update debugging was selected under Settings in the debugging mode. All the breakpoints that were set in the calling LUW can then be processed here.&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;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;Setting Breakpoints&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;program RSDEBUG_01.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;if SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;endif.&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;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;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;Deleting Breakpoints&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 &amp;amp;#61614; Global search. You can also use the Extended Program Check to find them.&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;&lt;/P&gt;&lt;P&gt;Dynamic Breakpoints &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;Setting Dynamic Breakpoints in the ABAP Editor&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;1.	Position the cursor on the line of the source code at which you want to set the breakpoint. &lt;/P&gt;&lt;P&gt;&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;Prerequisites&lt;/P&gt;&lt;P&gt;You must already be running the program in the Debugger.&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 function module:&lt;/P&gt;&lt;P&gt;1.	Choose Breakpoint &amp;amp;#61614; Breakpoint at &amp;amp;#61614; Function module...  &lt;/P&gt;&lt;P&gt;2.	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;3.	Choose ENTER. &lt;/P&gt;&lt;P&gt;Result&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;&lt;/P&gt;&lt;P&gt;Breakpoints at System Exceptions &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;Prerequisites&lt;/P&gt;&lt;P&gt;You must already be running the program in the Debugger.&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;To set a breakpoint at a system exception:&lt;/P&gt;&lt;P&gt;Choose Breakpoint &amp;amp;#61614; Breakpoint at &amp;amp;#61614; System exception.&lt;/P&gt;&lt;P&gt;Result&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;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;&lt;/P&gt;&lt;P&gt;Saving Breakpoints &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;To save the breakpoints that you have set in the Debugger:&lt;/P&gt;&lt;P&gt;Choose Breakpoint &amp;amp;#61614; 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;&amp;#149;	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;&amp;#149;	By choosing Breakpoint &amp;amp;#61614; Delete all. In this case, the system deletes all dynamic breakpoints.&lt;/P&gt;&lt;P&gt;&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 &amp;amp;#61614; Control debugging &amp;amp;#61614; Breakpoints.&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;Breakpoint Display&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;Counter&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;Deleting Breakpoints&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 &amp;amp;#61614; Set/delete. To delete all breakpoints, choose Breakpoint &amp;amp;#61614; Delete all.&lt;/P&gt;&lt;P&gt;Activating and Deactivating Breakpoints&lt;/P&gt;&lt;P&gt;Position the cursor on the breakpoint that you want to activate or deactivate and choose Breakpoint &amp;amp;#61614; Activate/deactivate.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;REGARDS &lt;/P&gt;&lt;P&gt;NARESH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 12:11:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502276#M565483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T12:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502277#M565484</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;A href="http://www.sap-img.com/abap/testing-and-debugging-abap-codes-functions.htm" target="test_blank"&gt;http://www.sap-img.com/abap/testing-and-debugging-abap-codes-functions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 12:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502277#M565484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T12:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502278#M565485</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;A href="http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;For debugging tutorial:&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005vp/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/tips/debug/debughome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/tips/debug/debughome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/sapab002.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/sapab002.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System Debugging&lt;/P&gt;&lt;P&gt;If you set this option, the Debugger is also activated for system programs &lt;/P&gt;&lt;P&gt;(programs with status S in their program attributes). When you save breakpoints, the System Debugging setting is also saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update Debugging&lt;/P&gt;&lt;P&gt;Update function modules do not run in the same user session as the program that is currently running in the ABAP Debugger.&lt;/P&gt;&lt;P&gt; These function modules are therefore not included in debugging. &lt;/P&gt;&lt;P&gt;Only if you select the Update Debugging option can you display and debug them after the COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normal Debugging&lt;/P&gt;&lt;P&gt;Normal debugging is the one we do it by the normal dynamic break points or by /H or by using stattic break points. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can switch to diffferent debuggin modes while processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Reshma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 12:13:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502278#M565485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T12:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502279#M565486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THERE IS NO PERTICULAR STEP BY STEP PROCEDURE &lt;/P&gt;&lt;P&gt;GO THROUG THIS DOCUMENTATION &lt;/P&gt;&lt;P&gt;IF U NEED MORE I WILL GIVE U &lt;/P&gt;&lt;P&gt;SO U CAN LEARN SO MUCH &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;NARESH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 12:13:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502279#M565486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T12:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502280#M565487</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;Chaeck the following documents,&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc" target="test_blank"&gt;http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc" target="test_blank"&gt;http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can get all the required information from the above documents.&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 12:13:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502280#M565487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T12:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502281#M565488</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;AT DESIGN TIME:&lt;/P&gt;&lt;P&gt;go to the line and clik on break point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at run time :&lt;/P&gt;&lt;P&gt;/H type this in command window and there after all process will happen through debugger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use keys like &lt;/P&gt;&lt;P&gt;F5: to execute line by line&lt;/P&gt;&lt;P&gt;F6: to execute line once (usefule for comand like perform)&lt;/P&gt;&lt;P&gt;F7: come out of current processing lock&lt;/P&gt;&lt;P&gt;F8: execute up to output / next break point&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make use of fild list to view ur data at runtime &lt;/P&gt;&lt;P&gt;watch point to debug conditionally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 12:14:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2502281#M565488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T12:14:47Z</dc:date>
    </item>
  </channel>
</rss>

