Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
In ABAP Language
02-Sep-09
Kaavian Systems
Debugger
The Debugger is a programming tool that you can use to execute ABAP programs,
by line or by section. With this tool, you can display data objects and check the flow
logic of programs.
During the program implementation the tool can be used to analyze error
situations of the program (dumps, unexpected program behavior).
02-Sep-09
Kaavian Systems
Types of debugger
The Classical Debugger
The Classical debugger runs in the same roll area as the application to be analyzed
(debuggee). It is therefore displayed in the same window as the application. However, this
technology also has some restrictions. For example, some ABAP programs (such as
conversion exist) cannot be analyzed in debug mode for technical reasons.
Kaavian Systems
02-Sep-09
Kaavian Systems
02-Sep-09
Kaavian Systems
Kaavian Systems
Debug Screen.
6
Break Points are : Static Break Point and Dynamic Break Point
There is also a special kind of breakpoint called a watch point
02-Sep-09
Kaavian Systems
02-Sep-09
Kaavian Systems
Types of Breakpoints
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
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.
02-Sep-09
Kaavian Systems
02-Sep-09
Kaavian Systems
10
Session Breakpoints:
Breakpoints are created in ABAP editor. It is valid for a logon session and for all
external modes of this logon session.
02-Sep-09
Kaavian Systems
11
Example
02-Sep-09
Kaavian Systems
12
02-Sep-09
Kaavian Systems
13
02-Sep-09
Kaavian Systems
14
02-Sep-09
Kaavian Systems
15
THANK YOU
02-Sep-09
Kaavian Systems