Application Development and Automation 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: 
Read only

Debugging

Former Member
0 Likes
796

Can any one tell me types of debugging? what is f5,f6,f7 and f8?what is the use of it?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
766

Hi Balu,

Debugging is the way for us to check if the program behave's in a way which we assumes while coding. You have break-points and watch points to help you in this process.

You have to use F5, F6, F7 and F8 keys while debugging.

F5 executes the current statement enters the procedures and routines,

F6 executes the current statement and does not enter procedure but completes it in one step.

F7 helpsyou to come out of a procedure.

F8 executes the program completly unless there is any break point set.

check these.

http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm

http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc

http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm

http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm

Regards,

Priyanka.

6 REPLIES 6
Read only

Former Member
0 Likes
766

hi,

IF U ARE JUST BEFORE THE PERFORM STATEMENT U CAN FIND THE DIFF B/W THESE BUTTONS.

IF U CLICK ON F5 IT WILL TAKE U TO THE SUB ROUTIENE(CORRESPONDING FORM),IF U CLICK ON F7 IT WILL TAKE U OUT OF SUBROUTIENE IF U ARE IN A SUBROUTIENE.F6 WILL SKIP THE SUBROUTIENE.F8 IS FOR RUNNING THE PROGRAM UPTO CURSOR.

REGARDS,

BHARAT.

Read only

Former Member
0 Likes
767

Hi Balu,

Debugging is the way for us to check if the program behave's in a way which we assumes while coding. You have break-points and watch points to help you in this process.

You have to use F5, F6, F7 and F8 keys while debugging.

F5 executes the current statement enters the procedures and routines,

F6 executes the current statement and does not enter procedure but completes it in one step.

F7 helpsyou to come out of a procedure.

F8 executes the program completly unless there is any break point set.

check these.

http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm

http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc

http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm

http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm

Regards,

Priyanka.

Read only

Former Member
0 Likes
766

Hi Balu,

Debugging can be done in the following ways....

1) By putting breakpoints in the program

2) By typing /h in the command field

3) By writing 'BREAK-POINT' in the program, you can put a permanent breakpoint

4) By writing 'BREAK USER' in the program, you can stop only the specific user.

And the function of the f5, f6, f7, and f8 keys are....

f5 To debug line by line

f6 To skip a procedure

f7 To come out of the procedure

f8 To go from one break point to the next break point or to execute the program.

Reward points if helpful.

Regards,

Ramana

Read only

Former Member
0 Likes
766

Hi,, debugging is to check run time errors and remove bugs in the program.

F5 -


Go to next step.

F6 -


Skip a procedure.

F7 -


Come out of procedure

F8 -


Execute the procedure.

U can start in debugging mode by typing /h

or put breakpoint at the line you are having any issues.

Read only

Former Member
0 Likes
766

Debugging is done in any of the ways below:

1. by typing /h in your pram and executing it

2. Settin a break-point in your program and executing it

3.Direclty click on Debugging from the intitial screen of se38

f5- step by step execution(goes into function modules, procedure ect)

f6- executes function mod, procedures asa single step

f7- comes out of the function modules/procedures

f8 executes the program until it reaches the next breakpoint