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
382

Hi all

how can we debug a function module .

and what is meant by Break and watch points . pls give example

Regards

Nagendra

3 REPLIES 3
Read only

Former Member
0 Likes
364

Hi,

It is similar to debugging of the Program in Se38,

Keep a break point and execute the fun module it will stop at that place.

then press F5 for line by line debugging

press F6 for skipping the routines and performs, and other function calls.

press F8 to come out of the debugging.

Watch point is the one to reach a particular condition in the code, First define that condition by pressing the watch point. then execute it will come to that condn and stop

reward if useful

regards,

ANJI

Read only

Former Member
0 Likes
364

nagendra,

v can set the breakpoint on the source code of the function module as the normal debugging in the abap editor. They same procedure what v do it for normal program.

Regards....

Arun.

Reward points if useful.

Read only

Former Member
0 Likes
364

break points and watch points are basically to help us understand the flow of or code and the values of various variabkles at that point .

with break point u can make ur code stop at a particular point from where u want to debud it and check values .

we can debug fm similar in a way to a other piece of code