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 an Include Program

Former Member
0 Likes
2,911

Hi,

How to debug an Include program which is in the 70th Line in a Module pool program.

When i execute the transaction code in the debugging mode the execution starts from the 1st line of the 1st include program.

Thank you,

Sherline

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,690

Hello Sherline,

Firstly when u start the debug and enter the first line of ur include program, check if u can c the break point active on the 70th line in include. If not then I would suggest u setup the breakpoint in debug mode. Save it and then rerun the program from begin that should stop the program on the necessary line within include.

10 REPLIES 10
Read only

anversha_s
Active Contributor
0 Likes
1,689

hi,

put a

<b>break-point</b>

insidie the include program.

tats all

rgds

anver

Read only

0 Likes
1,689

I want to debug only that Include program not the previous 69.

Even if i set a break point in the particular include program...it starts with the first line of the first include program.

Read only

0 Likes
1,689

Hi Sherline,

When you set a breakpoint on that particular statement and execute, it will stop at the point where the breakpoint is set.

Or simply continue executing once the debugger is open and the control stops where you have placed the breakpoint.

Read only

0 Likes
1,689

hi sherine,

what i mentioned is, kindly put the BREAK-POINT inside ur include program.

rgds

anver

Read only

Former Member
0 Likes
1,689

put a breakpoint explicitly in the include and run the main program.

BREAK <USER NAME>

Read only

Former Member
0 Likes
1,689

Go in to the include program in and put a break point. And then try to execute.

Read only

Former Member
0 Likes
1,691

Hello Sherline,

Firstly when u start the debug and enter the first line of ur include program, check if u can c the break point active on the 70th line in include. If not then I would suggest u setup the breakpoint in debug mode. Save it and then rerun the program from begin that should stop the program on the necessary line within include.

Read only

0 Likes
1,689

The main program (Module Pool) has many include programs, i am talking about the 70th include program.

The line for which the break point is set is in the 311th line of the 70th include program.

I am not able to debug the include program seperately...so i enter into the debug mode from the main program.

Is there anyway to enter into the 70th include program directly from the debug mode..Coz i have to cross all the 69 include programs which consumes a lot of time.

Read only

0 Likes
1,689

hi sherine.

1. delete all ur break points ie hard coded and others.

2. just go inside the 70th include program.

3. there HARD CODE ( i mean write) BREAK-POINT.

4. then execute ur program freshly.

5. the program will go to debug only inside that 70th include.

rgds

Anver

Read only

former_member150733
Contributor
0 Likes
1,689

After entering the program in debug mode, you can hit F8 to go to the point where your break-point is kept.

One thing to take care is if the control is going to that include program and to that particular place where you have put the break-point. Only if the control comes to this place the program will pause and a debugger screen will be shown.

Regards,

Anish Thomas