0% found this document useful (0 votes)
12 views

Abap Debugger

Abap class
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Abap Debugger

Abap class
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

ABAP DEBUGGER

The Debugger is a programming tool that we can use to execute ABAP programs, by line or by
section. With this tool, we can display data objects and check the flow logic of programs. This
helps us to examine our code during the runtime. By doing this, we can reduce defects or bugs
in a program. There are two types of debugger.

1. Classic Debugger. (Old).


2. New ABAP Debugger. (New).

We can debug the following:

a) Programs.
b) Function Modules.
c) Transaction Codes.

Following are the options in the debugger to execute the program:

1. Single Step F5:

By using this button F5, we can execute our program step by step. (Statement by
Statement).

2. Execute F6:

By using this button F6, we can execute a subroutine or a function module without
entering into it.

3. Return F7:

By using this button F7, we can come out of a subroutine or a function module.

4. Continue F8:

By using this button F8, we can directly execute the program. If there is more than 1
break point, then it can move from one break point to another. Once all the break points
are over, it will close the debugger & go to the output of the program.
BREAK POINTS:

A break point is an area in an ABAP program where the execution halts and turns on the
debugging mode. The control is then transferred to the ABAP debugger, which further
controls the execution of the program.
These are classified as:
1.   Session Breakpoints.
2.   Debugger Breakpoints.
Debugger break points are valid only inside the debugger, whereas the session break
point is valid throughout the session. We can have up to a maximum of 30 break
points.
The Break Points are further classified as:
1. Source Code Break Points.
2. Command Break Points.

WATCH POINTS:

A watchpoint is a conditional break point that is only defined in the ABAP debugger. It is
one of the runtime utility components provided to debug SAP application programs and
serves as an indicator to the ABAP runtime processor to interrupt further program
processing from the specified point or relation. We can have up to a maximum of 10
watch points.

You might also like