Tuesday, 7 January 2014

Static Breakpoints in SAP ABAP Debugger screen

Static Breakpoints in SAP ABAP Debugger screen

Static breakpoints were briefly alluded to earlier. These refer to a line of code written into a program which forces the program to enter debug mode at the specific line chosen. To do this, the statement BREAK-POINT is used. When the code is executed, the debug ses-sion will start with the usual blue arrow cursor pointing at the location of the static break-point.
                       
                 
Static Breakpoints in SAP ABAP Debugger screen

Static Breakpoints in SAP ABAP Debugger screen


Once this statement is embedded in a program, it is active for all users. This is largely un-desirable, as others running the program, who do not want to debug the code, would be faced with the breakpoint set by an individual user. Be careful not to leave this statement line in programs which will be transported to other systems

5 comments: