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
1,051

Hi,

Could any one tell in precise how we can use

F5

F6

F7 in debugging.And let me know what is the purpose of all dose function keys.

Rgds,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,019

Hi

F5 is used to debug line by line code it will nevigate to each step wheter it is a method call or function it will go in side it.

F6 u will move line by line but does now enter inside any function call

F7 will return u to the upper level

Ex if u are inside any method that is called from any other main method u will move to the main method

10 REPLIES 10
Read only

Former Member
0 Likes
1,019

F5 : Step In--->into the coding block

F6 : execute----->executing the Coding block

F7 : Step Out.---->Come out of Code Block

F8 : Run.

Regards

Prabhu

Read only

0 Likes
1,019

ways to debug..

1. Hardcode Break points using BREAK-POINT

2.Using /H when you Before Pressing Execute Button(F8).

3.Keep the Break points in the code , go to the line and using the CTRLSHFTF12 option .

F5 : Line by Line Debugging

F6 : module level

F8 : control passes to other debugging

You double click the module user_command..and there in any of the code u place the cursor and click the STOP Icon and turn Session brkpnt.

Read only

Former Member
0 Likes
1,020

Hi

F5 is used to debug line by line code it will nevigate to each step wheter it is a method call or function it will go in side it.

F6 u will move line by line but does now enter inside any function call

F7 will return u to the upper level

Ex if u are inside any method that is called from any other main method u will move to the main method

Read only

0 Likes
1,019

Hi Munna

Is there any more problems regarding debugger

regards

Pulkit Agrawal

Read only

0 Likes
1,019

Hi,

Thanx everyone.

Read only

0 Likes
1,019

Hi,

Could u tell how to use the Dynamic break-point.

And watz the diff btwn hard-code break-point and dynamic break-point.

Rgds

Read only

0 Likes
1,019

Hard code break point is just including the statement

break-point in ur code where u need a break point in ur code

dynamic is only at runtime

Read only

0 Likes
1,019

hi Munna

At the time of debugging u can double click on any line to insert a break point at that line

hard code break point will execute every time u run the program but dynamic will be only for that session

regards

Pulkit Agrawal

Read only

0 Likes
1,019

use watch-point in two case :

- I want to stop when my internal table into a loop is on the good line. I don't want to click F5 200 before stop in the line 200 ... So I choose the internal_table-field I set the watch point to the value I would like ..

- I want to stop when a field have a value, I set for example, the field <> 'blank'. So when anything append in this field, the program stop.

http://help.sap.com/saphelp_46c/helpdata/en/c6/617cd9e68c11d2b2ab080009b43351/frameset.htm

for Hard code break point just write statement in ur program break-point

Read only

anversha_s
Active Contributor
0 Likes
1,019

hi,

F5- line by line

f6- if u reached a perform statement, by pressing f6, u will skip that perform and get to next line

f7 - suppose u reached in the middle of a subroutine, when u press f7, u will get out of that subroutine

thata all.

for any clarifiaction pls mail me.

pls reward points, if this helped u.

regards,

anversha.

anversha.shahul@wipro.com