03-31-2010 8:12 AM
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
03-31-2010 8:15 AM
check this link : http://help.sap.com/saphelp_nw04/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
With screenshots : http://jndo10116222.multiply.com/journal/item/4
new abap debugger : http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/6f9c88ed-0601-0010-269f-a7269504b87b
03-31-2010 8:15 AM
check this link : http://help.sap.com/saphelp_nw04/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
With screenshots : http://jndo10116222.multiply.com/journal/item/4
new abap debugger : http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/6f9c88ed-0601-0010-269f-a7269504b87b
03-31-2010 8:16 AM
Hi,
check this out.
[http://www.sdn.sap.com/irj/scn/index?rid=/webcontent/uuid/502440f0-44f3-2c10-d5b1-d6c102e99c30] [original link is broken];
03-31-2010 8:17 AM
refer to the link :
http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP+Debugger
Edited by: prachidangi on Mar 31, 2010 9:18 AM
03-31-2010 8:18 AM
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....
03-31-2010 8:20 AM
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.
03-31-2010 8:20 AM
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.
03-31-2010 8:23 AM
03-31-2010 8:48 AM
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