0% found this document useful (0 votes)
123 views12 pages

Breakpoints & Debugger

The document discusses ABAP breakpoints and debugging. It provides information on: - How breakpoints allow a program to pause at specific locations during execution for debugging purposes, but should not be set in production environments. - Breakpoints can be inserted from the ABAP editor or during program execution, and are specific to the user who sets them. - The ABAP debugger allows stepping through code line-by-line or executing subroutines, and viewing variable contents. - Help on ABAP commands and keywords is available from the ABAP editor.

Uploaded by

Pradeep Selokar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
123 views12 pages

Breakpoints & Debugger

The document discusses ABAP breakpoints and debugging. It provides information on: - How breakpoints allow a program to pause at specific locations during execution for debugging purposes, but should not be set in production environments. - Breakpoints can be inserted from the ABAP editor or during program execution, and are specific to the user who sets them. - The ABAP debugger allows stepping through code line-by-line or executing subroutines, and viewing variable contents. - Help on ABAP commands and keywords is available from the ABAP editor.

Uploaded by

Pradeep Selokar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 12

Breakpoints &

Debugger
ABAP Breakpoints
• Enables a
program to pause
at a specific
location during
execution
• NOT TO BE SET
IN PRODUCTION
ENVIRONMENTS
ABAP Breakpoints
• Breakpoints are useful to developers for debugging purposes.

• Breakpoints are also beneficial to functional users as they allow a


user to view program logic behind the scenes with live data.

• Breakpoints can be inserted in a program from the ABAP Editor and


during the execution of a program or transaction.

• Breakpoints are specific to the user who sets them. Breakpoints will
not affect other users running the same transaction.

• Breakpoints are specific to a user’s logon session. Breakpoints are


deleted from a program when the user logs off.
Inserting Breakpoints from ABAP Editor

• Transaction
SE38
• Insert
breakpoints
at key
statements
• Multiple
breakpoints
can be set
Inserting Breakpoints During Program
Execution (1)

• Type ‘/h’ in
command
window
Inserting Breakpoints During Program Execution (2)

• Insert
breakpoints
at key
statements
• Navigation
controls allow
report to be
“stepped
through”
during debug
ABAP Debugger Features (1)
• Immediately after executing, the debugger is invoked.

• Breakpoints can be inserted at key statements simply by double clicking on an ABAP


command.

• Navigation keys
• Single Step - Executes program statements line-by-line

• Execute - When next program statement is a subroutine, this executes the entire
subroutine and stops

• Continue - Executes the program until is is finished or until the next breakpoint
is reached

• Return - Completely executes an external routine and stops when control is returned
back to the main program

• *** All breakpoints can be deactivated or deleted in debug mode from the ‘Breakpoint’
menu option ***
ABAP Debugger Features (2)

• Field
contents can
be viewed
by double
clicking on
applicable
fields
ABAP Debugger Features (3)

• Internal table
contents
7. Help On ABAP
Help On ABAP(1)

• ABAP
command
help
available
from ABAP
Editor
Help On ABAP(2)

• ABAP Keyword
Documentation

You might also like