Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

break point

Former Member
0 Kudos

sir

given me detail

how to create a berak point in any abap program

ritu

4 REPLIES 4

Former Member
0 Kudos

ritu,

There are two types of break-points. Soft & Hard.

Soft break points can be set on a particular line of code by keeping cursor on that line and pressing the STOP push button on the toolbar. This break point is active only for that screen.

Hard break point is created by putting a statement BREAK-POINT in the code. because of this, every time u execute the program, when ever the control comes to this break point it goes to dubugging mode.

Hope this info is helpful to u

Former Member
0 Kudos

hi,

place the cursor where evr u want create break point and go for utilities->break point-> set.

or keep the cursor where u need break point and press stop button on top (red)

note the program should be active to create break point.

regards

siva

paruchuri_nagesh
Active Contributor
0 Kudos

hi

The Debugger contains different breakpoint variants:

Static

The BREAK-POINT statement in an ABAP program. Static breakpoints are not normally user-specific. However, you can make them user-specific.

Directly-set

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.

Breakpoints

at statement

The Debugger stops the program directly before the specified statement is executed.

Breakpoints

at subroutine

The Debugger stops the program directly before the specified subroutine is called.

Breakpoint at function module

The Debugger stops the program directly before the specified function module is called.

Breakpoint at method

The Debugger stops the program directly before the specified method is called.

Breakpoints at system exceptions

The Debugger stops the program directly after a system exception, that is, after a runtime error has been intercepted.

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.

Setting Dynamic Breakpoints in the ABAP Editor

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:

Position the cursor on the line of the source code at which you want to set the breakpoint.

Choose Utilities ® Breakpoints ® Set or the Stop icon. The system confirms that the breakpoint has been set.

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.

reward if u find use ful

regards

Nagesh.Paruchuri

Former Member
0 Kudos