Skip to Content
avatar image
Former Member

Abap debugger

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

8 Answers

  • avatar image
    Former Member
    Mar 31, 2010 at 07:15 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 31, 2010 at 07:16 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 31, 2010 at 07: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 31, 2010 at 07: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....

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 31, 2010 at 07: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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 31, 2010 at 07: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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 31, 2010 at 07:23 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Mar 31, 2010 at 07: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

    Add comment
    10|10000 characters needed characters exceeded