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: 

Abap debugger

Former Member
0 Kudos

Hi

I would like to learn how to debug using /H abap Editor...Can anyone sugeest some simple steps of debugging Or can you suggest me a document related to this.

Best regards,

Sunil

Edited by: Sunil Kumar BN on Mar 31, 2010 9:12 AM

1 ACCEPTED SOLUTION
8 REPLIES 8

Former Member
0 Kudos

Hi,

check this out.

[http://www.sdn.sap.com/irj/scn/index?rid=/webcontent/uuid/502440f0-44f3-2c10-d5b1-d6c102e99c30] [original link is broken];

Former Member
0 Kudos

refer to the link :

http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP+Debugger

Edited by: prachidangi on Mar 31, 2010 9:18 AM

former_member778253
Active Participant
0 Kudos

Hi

we can start debug in either of the ways.

1. type '/H' in command field and then press 'F8' then your program enters into debug mode, means debug from the beginning of the program.

2. Select the line from where you want to start debug, then press 'set/delete breakpoint' on the toolbar and then press 'F8' then your program starts in debug mode from the line where you have put the breakpoint.

Hope it's clear....

Former Member
0 Kudos

Hi..

enter /H in commond prompt and execute the program. it will take you throgh the debugger screen

Use F5 for executing the program line by line.

Use F6 for executing FM at a time.

Use F7 for executing Perform at a time.

Use F8 to execute program directly.

Regards,

Lokeswari.

Former Member
0 Kudos

Describe the functions of the debugger screen.

- Single step(F5) - Use this option to step through the program statement by statement. This allows you to branch into subroutines and function modules, and to execute these routines step by step as well. Once a subroutine or function module has been processed, control returns to the statement following the CALL FUNCTION or PERFORM statement.

- Execute(F6)- Use this option to process a program line by line. All of the statements on the current line are processed in a single step. If you are positioned on a line that calls a subroutine and you choose Execute, the Debugger processes the whole subroutine and then moves on to the line following the subroutine call. This allows you to jump through the statements within the subroutine.

- Return(F7) - The Debugger returns from a routine to the point at which control returns to the main program. Use this option to return from a subroutine, function module, or called program to the calling program.

- Continue(F8)- Use this option to process the program up to the next dynamic or static breakpoint or up to the cursor position. If there are no more breakpoints in the program and no cursor has been set, the system exits debugging mode and executes the rest of the program normally.

0 Kudos

Please do your own research before posting basic questions.

To those who replied, don't support this by replying to such questions, especially not with uncommented links or copy/paste passages.

Thread locked.

Thomas