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: 

Debugging

Former Member
0 Kudos

Can any one tell me what is debugging and explain abt it?

6 REPLIES 6

Former Member
0 Kudos

Hi

You can get D of debugging to end . Please go through link

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

Please mark Useful ANswers

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Be debugging the program, we can find out the mistakes done in a program.

Check this link for more.

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

0 Kudos

HI,

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.

Regards,

Sesh

Former Member
0 Kudos

Hi Balu,

Debugging is the process of finding the faults in the program i.e to check where the data is not getting entered to the fields etc.

Normally we Debug using breakpoint or by using tcode /h during executing the program.

Place /h in the tcode and execute the program F8. You will enter into debug mode. There you can debug fields and also tables accordingly to the options. You can also check what values are populated into the Internal table using TABLES option in the mode. use F5 to run the mode in single step. F6 to come out of a loop. F7 to come out of a FM and F8 to come out of debugging mode.

Hope this helps you.

Regards,

-Priyanka.

Former Member
0 Kudos

Debugging is used to check whether the logic which we have written works correctly. There are 2 types of debugging :

1. Static Debugging

2. Dynamic Debugging.

We go for static debuging when we know the line of code where we want to debug. you can use <b>break-point</b> statement in your code in order to debug it, else u can use the Red color <b>stop button</b> to set the break-point.

We go for dynammic debugging, when we want to know the program flow while we are executing the program. Hence dynammic debugging is done only during the runtime of the program. For that we have to use <b>/h</b> command in the transaction code in order to debug when we execute the program