Break points

hai gurus...
how many watch points and break point can be used in each program...
types of watch points and break points....
Thanks
Pavan

Hi
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.
Use
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.
Features
· You can set up to five watchpoints in a program.
See also Setting Watchpoints.
· You can also specify the conditions under which a watchpoint is to become active.
· You can specify a logical link for up to five (conditional) watchpoints.
See also Specifying Logical Links.
· 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.
· You can change and delete watchpoints.
See Changing Watchpoints
· You can use watchpoints to display changes to the references of strings, data and object references, and internal tables.
See Memory Monitoring with Watchpoints
Breakpoints
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.
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.
Breakpoint Variants
The Debugger contains different breakpoint variants:
Static
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.
Directly set
dynamic breakpoints
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.
Breakpoints
at statements
The Debugger stops the program immediately before the specified statement is executed.
Breakpoints
at subroutines
The Debugger stops the program immediately before the specified subroutine is called.
Breakpoints at function modules
The Debugger stops the program immediately before the specified function module is called.
Breakpoints at methods
The Debugger stops the program immediately before the specified method is called.
Breakpoints at exceptions and system exceptions
The Debugger stops the program immediately after a system exception, that is, after a runtime error has been intercepted.
Static Breakpoints
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.
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.
Dynamic Breakpoints
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.
Dynamic breakpoints are more flexible than static breakpoints because you can deactivate or delete them at runtime. They have the following advantages:
· You do not have to change the program code.
· You can set them even when the program is locked by another programmer.
· You can define a counter that only activates the breakpoint after it has been reached.
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.
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.
Lifetime and Transfer of Breakpoints
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.
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.
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.
we can keep them at :
Statements
Subroutines
Function Module Calls
at Methods
System Exceptions
break point :
we can start debugging from that point or if we keep break point at some place we can directly got ot htat point using f6.
watch point: for example if we have to check the output for 4000 records based on a field value i.e.for vendor number 'in'we have to check then we will create watchpoint on field LIFNR value '2000'. then we can directly go to vendor whose numbe ris 2000
Regards,
Sree

Similar Messages

  • Break points are not triggering in RFC from portal application

    Helllo,
    I am running Biller Direct application from portal, which is triggering a standard SAP RFC FM back end, am trying to debug my execution from portal, for this i put the External Break point, Session break-poiint at the beginning of this SAP RFC FM, but, its not stoppping at ll, here the user is a Web user, not dialog user.
    How can i stop my execution in this SAP RFC FM to check how the structures are populated?
    Thank you

    Hi Raju,
    Please try the below way and check if it works.
    Open the RFC in R/3 i.e.
    SE37 -> give FM NAME -> DISPLAY.
    Click on UTILITIES -> SETTINGS -> CLICK THE TAB debugging.
    In the screen against the field users : give the value 'WEBLOGIN'.
    Uncheck the FLAG 'IP MATCHING'.
    And at the bottom check the check box against the field
    'Session Break Point Activate Immediately'.
    Save these settings.
    Then go to the line at which you want to debug the code and put an external break point over there.
    But, please take care of one thing as we are giving it as a WEBLOGIN, when ever some logs in, it will reach the brteak point and stop there. We have to click F8 to continue. Or else, the portal will be hanged for them.
    Thanks & regards,
    Y Gautham

  • BI-IP: Formula FOX - Debug & Break-Point

    Hello,
    BI-IP compiles the command "BREAK-POINT" in the Formula FOX source code. But it does not debug when the planning function is "executed with trace" (sequences).
    Is there any possibility in BI-IP to debug the FOX code?
    regards
    Eckhard Lewin

    Hi JW,
    when use execute report RSPLS_PLSEQ_EXECUTE, key in your planning sequence. Then hit enter! You will see that the possible selection variants will change. If you do not hit enter in between, you won't see your variant.
    gr
    Dries

  • DL Break Point Issue - Please Help.

    Hello,
    I use to work in DVDSP when you could only do one layer and even then I knew just enough to get the job done. Now I have a program that is 6.6 gigs total size (according to DVDSP) and I can't get this thing to find the break point. I have read through most of the manual regarding this issue and have read many posts - first I have to ask is why is this so difficult?
    Here are the issues in detail and I ask that if you give input please guide me like I have limited knowledge in this.
    I am using DVDSP 4.1.0 on a G5 Dual 1.8 OS is 10.4.8 with a Pioneer DVR 111D. I have 4 'tracks' all coming off one main menu...no sub menu's - so I have the one main and four buttons that go directly to the videos. When I try to 'burn' the DVD I get this error 'Formatting was not successful. A suitable marker could not be found in the required layer break range. See the DVD Studio Pro User's Manual for more information.' The size of each track is as follows:
    Track One: The Main footage is 4.0 Gig (this is the one I am trying to set the break point because the limit is 3.9 Gig)
    Track Two: is 1.7 Gig
    Track Three: 606 Meg
    Track Four: 216 Meg
    I have tried 'Automatic' without luck.
    I have tried to place a few markers approximately 3/4 of the way through Track One the marker that I place is Green and in the Inspector window when I click on that marker I see the 'Marker Function' and then the button to select Dual-Layer Break Point and I select that only. However when I click something else and then come back to Marker the Dual Layer Break Point is not selected!
    I then have gone into the 'Disc/Volume' and tried to select the 'Break Point' and chose Track One but still nothing. I have read in the forums about building the disc and then going into the TS folders and blah blah blah to get this done but that is above my head and I don't understand it.
    I just need to get this video done. It is for a family who's 17 daughter was tragically killed and will be a fund raiser for them...I need to get this done. So if any of you are willing to help that would be SO appreciated AND if any of you would be so kind to walk me through this over the phone THAT WOULD BE GREAT! Just email me at [email protected] and I will email you my number. I know this is a tad different but I don't have much time left to get this done because of my 'real job' and again, I need to get this done!

    Hi csiaudio,
    Build the project (AltAppleC). Then in the format window (Apple+F), Disc/Volume tab you'll be able to see the available break point markers. If they are all greyed out then you do not have one in the project.
    Add Cell markers in places that you think would be ok as the layer switch. You do this by adding a chapter marker and then in the property inspector un-checking the type Chapter. This will now be a marker that can be used as a dual layer break point but is not a chapter marker.
    You'll need to re-build the project and check the format window options again,
    -Jake

  • Break Points while remote debugging  not working in Eclipse

    I have set up my tomcat to listen for debugger connections on the default pot 8000. Now when I set break points in the code, it does not show the execution stop at that particular line.
    Now why would that be? Am I missing somethiing?
    I have built the files with debugging on.
    thanks
    M

    http://kaustavdm.in/2014/08/connect-firefox-os-spreadtrum-device-adb.html
    check this out, it should fix all your problems !

  • Dump while setting a break point in ECC 6.0

    Dear Experts,
    In ECC 6.0, when I try to put a break point in the program to stop the control there. I am not able to do so, it is going to dump. The dump message is also not very clear. Do anyone of you are facing the same problem. Any idea why is this happening and how do I fix it.
    Can it be due to the improper installation? Please respond.

    First of all thanks to Mickey, Nitin, Anki, Sujit, Red, Madhu, Vibin for the quick response...To be honest I did not expect such a response as a new member to the SDN community...I am sorry I could not mention the detail about the dump initially...Here is the detailed description..
    Issue: In ECC 6.0, when I write a simple ABAP program (e.g. 'Hello World' program). When I try to keep the cursor on any abap statement and click on the 'session break point' icon in the tool bar to set the break point, i get a status message 'Compling SAPLBREA in separate task and finally i get the dump.
    Dump Detail :
    Runtime Errors: DBIF_REPO_SQL_ERROR
    Short Text : SQL error 1115 occurred when accessing program 'LNAVIDAT' part "SRC".
    Program: SAPLBREA
    Include: LBREATOP
    Row: 41
    There is a an include being called at line no 41, which is "Include LNAVIDAT".
    Now when I click on the 'debugger' icon in the dump...It points to a functional module "RS_SET_BREAKPOINT"
    Also, while double clicking on this include to see the code within, it issues an error message saying "SQL error occurred when accessing the table TRDIR".
                                    Or
    While trying to display the code of the include LNAVIDAT in se38 to see what is wrong with that i get another dump and this time it points to be SELECT query in the dump which is:
    SELECT SINGLE * from PROGDIR WHERE name = rs38m-programm
                                                              and  state = active.
    Thereafter, i keep getting dumps when i try to go to any T.codes (e.g. se11, se38 etc.). until i log off and log in again. Hope this helps you guys understanding the problem. Being new to SAP, I have no clue why is this happening and how to fix it. Thanks in Advance.

  • How to put a break point while creating a travel request in ess

    Hi to all experts,
    My requirement is to put a break point in the badi while creating a travel request in Ess.
    The badi name is TRIP_WEB_CHECK
    i tried both external and session bps
    i also tried this.
    break uname
    break-point
    and it is i check whether is triggering by throwing dump like ( divide by zero) it is triggering
    how to stop it while triggering

    Hi Bhanu,
    Please go through these links:
    How to debug abap code in update rules...routine?
    debug abap routine in infopackage
    Debugging of global transfer and update routine
    Debugging Start/Transfer routine
    And have a look at this demo video to know how to set up break points and how to debug an ABAP program in NW2004s:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9cbb7716-0a01-0010-58b1-a2ddd8361ac0?prtmode=navigate
    Hope it helps..
    Cheers,
    Habeeb

  • External break point in sap r/3 system

    i want to set external debugging to rfc in r/3
    i tried to set it
    its getting set
    but when i call rfc from external system(webdynpro)
    its not gng to that break point i.e its not linking to that break point
    what could be the reason
    and how we can set external breakpoint
    are there any setting we need to do in r/3 so that break points will work
    Regards,
    Vani

    Hi Vani,
    First u have set ur Server to Debug mode...then only u can debug the code...
    1. Select "Server0" from J2EE engine (To get this view navigate thru Window--> Show View --> J2EE Engine)
    2. Make a right click on "Server0" and choose "Enabling Debugging of Process"
    3. Now, Navigate to Run --> Debug --> Select your Project as "Webdynpro Application" and click "new" button
    4. Now give some name and Click BROWSE to select ur project and then click APPLY and DEBUG
    Or
    if u use 2004s, then u can do the settings in Portal itself...which gives u more clear information... follow the link
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56">WebDynpro Java Debug Configurator</a>
    Hope it helps...
    Regards / Guru

  • VS 2010 Silverlight project upgraded to VS 2013 - not hitting break point.

    dear Readers,
    thank you for taking the time to read this posting.
    we had developed a SL project using VS 2010 and it was successfully upgraded to vs 2013.  after a couple of hiccups, the application compiled and ran successfully.  the SL app is still in .net framework 4.0.
    due to some changes, we wanted to debug the application.  Even after marking a couple of break points, we found that vs 2013 did not hit the breakpoints when we ran the app with F5.
    We tried the following and it still would not hit the breakpoint:
    1. deleted the /bin and /obj directories in SL and .Web projects.
    2. deleted .xap file and /bin /obj directories.
    We tried attaching/detaching the sl process in Firefox. IE, and chrome - no luck.
    any suggestions will be appreciated.
    regards
    ravi.
    Sr GIS App Developer Dallas Fort Worth area, TX

    Hi,
    Please check the upgrade report details.
    Besides, below articles will help you when you upgarde your silverlight application.
    https://msdn.microsoft.com/en-us/library/hh397894(v=VS.95).aspx
    https://social.msdn.microsoft.com/Forums/silverlight/en-US/475d7dca-eebf-4d50-87f8-957f6415fb63/how-to-upgrade-a-silverlight-4-application-to-silverlight-5?forum=silverlightgen
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Break Point in Webdynpro JAVA and SAP

    Good Morning.
    I am creating a development for web dynpro Java using Function Module RFC in ABAP.
    I want know how can put a break point in the system SAP ERP (Backend) and run an application in web dynpro java?
    I did this steps:
    1.) SE37--->name RFC
    2) button Display
    3) Set/Delete external Break point.
    4) In the SAP Netweaver Developer Studio >Name of project>Webdynpro>Applications>Name Appplication-->deploy new archive and run.
    But this not stop.
    The question is :
    How can do this?
    Kind Regards

    Hi,
    Refer this article: [Debugging ABAP Code from within Web Dynpro Application|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/0e9a9d90-0201-0010-478e-991dbea73a30&overridelayout=true].
    I hope it helps.
    Regards
    Arjun

  • Unable to set a break point in Enhancement part

    Hi,
       Hi,
        I have two servers one is quality and the other is upper lanscape system. I am able to set break point in the enhancement part in Upper landscape system. But in quality system its throwing some error 'The position of the break point cannot be determined'.
    Edited by: Delphi on Feb 23, 2012 8:17 AM

    This may be due to SWITCH POSITION property in Enhancement.
    Go to SE19 -> Edit Implementation -> New BAdI -> Display.
    Go to properties tab of your enhancement and check whether SWITCH POSITION is OFF or not.
    If its OFF, you cannot put breakpoint.
    NOTE: Its state can be changed, but its impact is at Package level
    Please find the detailed link:
    http://help.sap.com/saphelp_nw04s/helpdata/en/af/e8b540afc87c2ae10000000a155106/frameset.htm
    Edited by: Ajoy Chakraborty on Feb 23, 2012 1:15 PM

  • Break-point in ALV-GRID OO if standard-button &PRINT_BACK is pressed.

    Hi,
    is it possible to set a break-point in Button '&PRINT_BACK'?
    I will use it to test if i can use:
        CALL METHOD I_ALV_GRID->GET_FRONTEND_PRINT
          IMPORTING
            ES_PRINT = GS_PRNT.
    and
        CALL METHOD I_ALV_GRID->SET_FRONTEND_PRINT
          EXPORTING
            IS_PRINT = GS_PRNT.
    Regards, Dieter

    Hi,
    Please check links,
    ALV Grid Control - Dropwdown / Checkbox
    Question about triggering event for ALV dropdown
    Regards,
    Hema.
    Reward points if it is useful.

  • Export  data in Excel file - Debug and Break Point

    In the program RFUMSV00 the data  been displayed on the screen with the function REUSE_ALV_LIST_DISPLAY.
    With "Cntrl + Shift + F9" I exported the list of data in an Excel file.
    How can I see, with Debug, where the program RFUMSV00 passed the data to Excel File? I can indicate the point, In the program, where I need to set the break point?
    Thanks,
    Serena

    Hi,
    This download functionality has nothing to have with program RFUMSV00. It is actually processed by REUSE_ALV_LIST_DISPLAY fm, which calls fm LIST_COMMAND which finally calls fm LIST_DOWNLOAD, where you will actually find the downloading part (in fact in another fm, DOWNLOAD_LIST)...
    to resume: REUSE_ALV_LIST_DISPLAY->LIST_COMMAND->LIST_DOWNLOAD->DOWNLOAD_LIST
    so I would put the break-point in the last one..
    Kr,
    Manu.
    correction: I made a mistake, the break-point should be set in LIST_DOWNLOAD...where you will find the call to fm LIST_CONVERT_TO_DAT which is responsible of the download...
    Edited by: Manu D'Haeyer on Dec 9, 2011 1:46 PM

  • Is there a way to find all the break points that has been set in Jdeveloper

    I set break points here and there based on what i am debugging. was wondering if there is a way to find out all the break points I have set, like a summary view or something.
    Thanks

    Hello,
    You can check View --> Debugger --> Breakpoints.
    Regards,
    Simon

  • Reg usage of break point in debug mode

    Dear experts,
       I want to know how to go to a particular line in debugging mode. Suppose for example, if a program contains main program and includes.  I want to go to a particular line in debugging mode in the includes. How can i go? kindly help me.
    tks

    Hi Prabhakar,
    Using break points you can stop the execution control at that break point.
    If you use only F5, F6, F7 for debugging you don't need of break points.
    But if you want to stop at particular statement while running the report (using F8) you should use Break Point. Ofcourse you can use watchpoints also.
    Watchpoint --- If you put watch point execution control stops at the particular statement when the value of watchpoint is reached.
    Reward If Helpful.
    Regards
    Sasidhar Reddy Matli.

  • Break points set in an included script during debugging sporadically jump to the last line of the included script

    As I stated in the title, I use the ScriptInclude command quite extensively, because we have at our company a policy of maintaining one large-ish (roughly 7k lines) function library which is included by various individual evaluation scripts. Debugging this with break points is often the only (useful) way to see into the state of the script, so I depend on them.
    My problem is that often when I debug a script calling the function library, setting a break point in that library and running into it during debug mode will not transport the cursor to the location of the current break point, but instead to the very end of the included script. I have noticed this with a separate pair of scripts, as well, which includes a similar size script to call functions from (roughly 2k lines).
    Now I wonder if this has to do with the size of the scripts included, or if it is dependent on something else. It seems to not be affected by restarting DIAdem, and sometimes it works as intended, but I have not been able to reliably replicate indivdual occurrences one way or the other.
    Has anyone else had this problem happen to them?
    Leo Zschokke
    Test Engineer C-EPS
    ThyssenKrupp Presta AG

    Leo
    I also use scriptincludes extensively, Most of mine are in the range of 500 to 2000 lines.  Usually I organize them in logical code topics,  I like to use them to hold one class most of the time.  When I debug these I can set a breakpoint, and it will stop at that location.
    I also use custom log class as well, I find this quite helpful, in the applications that are unattended.
    The only thing I can think of to try is to separate the 7k file into 2 2k line files and then script include them separately.
    Paul
    ps. I sometimes need to have intellisense work from a file that was scriptincluded, this requires copying the file into the end of the main script.  (you most likely already know this   )
    One other note, Are you talking about debuging code in a SUD, that is whole different problem to deal with.

Maybe you are looking for

  • How to calculate the Net value in below scenario in Webi

    Hi, I need help in creating a formula variable for below scenario. Say Date is as below:     Date-Instrment-  Value--- Transacton Type 10-Feb-09-             Stock-                                  150---                 Buy 18-Feb-09     -      Stoc

  • Major heat problem. should i be able to hear the fans?

    my black macbook with 1gb ram is getting very hot when i use front row to play videos at full screen. after about 30-40 mins the left corner of the macbook is so hot i can only touch it for a second or so. then without warning the video just freezes.

  • IPhone no longer syncs with iTunes

    I upgraded my computer to Leopard today and everything seems to be working properly. However, when I plug in my iPhone it doesn't start and show up in iTunes. Is there something I've missed?

  • Compatibility of ColdFusion MX7 with Vista OS

    Hi all, We are using Cold Fusion MX7 and are planning to make an Operating System move from Windows XP to Vista OS and IE7. This move is only for the client machines. There are no changes to the servers. Can anyone please let me know how compatible C

  • How do I get Photoshop Elements 5.0 to activate in computer after clearing out a virus?

    I am attempting to activate my Photoshop Elements 5.0 after having to download it into my computer after a virus.  Program is registered with Adobe, but it refuses to open.  How do I activate the program?