INTERDUCTION TO
DEBUGGING
• What is Debugging?
• Why we need to do Debugging?
• How to do Debugging?
What is Debugging?
Definition:
Debugging is a process of running a program
“line by line” or by “Section”
and examine the values of Variables or look at
values passed into Functions and let you figure out
whether it is running the way you expected.
Why we need to do Debugging?
 ABAP Debugger helps to understand
program flow at runtime.
 ABAP Debugger is the efficient means of
identifying logical errors in programs.
 Field contents can be displayed or
changed at runtime.
 Programs can be stopped at a particular
statement, event, subroutine, function
module or system exceptions.
How to do Debugging?
To Debug an ABAP program, we need to
enter into ABAP Debugger at run time of
an ABAP program.
There are two types of Debuggers:
1. The Classic ABAP Debugger
2. The New ABAP Debugger
The Classic ABAP Debugger
The Classic ABAP Debugger, with its old
user interface and its limitations to debug
certain types of ABAP programs. It is now
not widely in use.
The Classic ABAP Debugger
The New ABAP Debugger
The New ABAP Debugger, with its state of
the art and flexible user interface, can be
used to debug all types of ABAP
programs. It provides many new features
which improve our efficiency of debugging,
both in ABAP support and development.
The New ABAP Debugger
How to Enter in to Debugger?
Option 1:
Set Break-Point at a particular statement of
any ABAP program.
 Before start of program execution
Options 2:
Type /H in Command Field and press Enter
 While running a Program

INTERDUCTION TO ABAP DEBUGGING.ppt vey helpful

  • 1.
  • 2.
    • What isDebugging? • Why we need to do Debugging? • How to do Debugging?
  • 3.
    What is Debugging? Definition: Debuggingis a process of running a program “line by line” or by “Section” and examine the values of Variables or look at values passed into Functions and let you figure out whether it is running the way you expected.
  • 4.
    Why we needto do Debugging?  ABAP Debugger helps to understand program flow at runtime.  ABAP Debugger is the efficient means of identifying logical errors in programs.  Field contents can be displayed or changed at runtime.  Programs can be stopped at a particular statement, event, subroutine, function module or system exceptions.
  • 5.
    How to doDebugging? To Debug an ABAP program, we need to enter into ABAP Debugger at run time of an ABAP program. There are two types of Debuggers: 1. The Classic ABAP Debugger 2. The New ABAP Debugger
  • 6.
    The Classic ABAPDebugger The Classic ABAP Debugger, with its old user interface and its limitations to debug certain types of ABAP programs. It is now not widely in use.
  • 7.
  • 8.
    The New ABAPDebugger The New ABAP Debugger, with its state of the art and flexible user interface, can be used to debug all types of ABAP programs. It provides many new features which improve our efficiency of debugging, both in ABAP support and development.
  • 9.
    The New ABAPDebugger
  • 10.
    How to Enterin to Debugger? Option 1: Set Break-Point at a particular statement of any ABAP program.  Before start of program execution Options 2: Type /H in Command Field and press Enter  While running a Program